hadley / r4ds

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

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

Closed florisvdh closed 7 months ago

florisvdh commented 7 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 7 months ago

Thank you!