hadley / r4ds

R for data science: a book
http://r4ds.hadley.nz
Other
4.59k stars 4.22k forks source link

logicals.qmd: use better variable names in example #1623

Closed florisvdh closed 10 months ago

florisvdh commented 10 months ago

The variable names of this example were copied from the previous example, where logical vectors were summarized with any() and all(). However in the present example the summary is with sum() and mean(), which was not reflected (updated) in the variable names.

mine-cetinkaya-rundel commented 10 months ago

Thank you!