9.2 Counting Groups
Groups can be counted using dplyr::count().
%>% count(wind_dir_3pm) ds
## # A tibble: 17 × 2
## wind_dir_3pm n
## <ord> <int>
## 1 N 10475
## 2 NNE 8002
## 3 NE 10092
## 4 ENE 9605
## 5 E 10123
## 6 ESE 10290
## 7 SE 12919
## 8 SSE 11089
## 9 S 11788
## 10 SSW 9902
## 11 SW 11166
## 12 WSW 11700
## 13 W 12411
## 14 WNW 10846
## 15 NW 10315
## 16 NNW 9358
## 17 <NA> 6666
Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0
