10.45 Random Observations
20180721 It is also useful to review some random observations from the dataset to provide a little more insight. Here we use dplyr::sample_n() to randomly select six rows from the dataset.
## date location min_temp max_temp rainfall evaporation sunshine
## 1 2009-09-13 Bendigo 13.3 19.3 0.6 8.0 NA
## 2 2010-11-04 CoffsHarbour 14.8 22.6 0.0 7.6 4.8
## 3 2010-07-02 Penrith 4.1 11.3 0.0 NA NA
## 4 2014-05-08 Nhil 4.6 17.3 0.0 NA NA
## 5 2018-06-28 Adelaide 2.3 13.9 0.0 NA NA
## 6 2012-03-21 Mildura 16.5 22.4 0.0 9.2 5.0
## wind_gust_dir wind_gust_speed wind_dir_9am wind_dir_3pm wind_speed_9am
## 1 NW 52 NNW NW 13
## 2 NE 41 WSW NE 13
## 3 SSW 19 <NA> NNW 0
....
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