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 2020-03-08 Sydney 16.6 23.2 18.8 7.8 3.6
## 2 2012-11-07 Portland 8.1 18.5 0.2 4.4 10.2
## 3 2009-08-15 Nuriootpa 7.5 24.8 0.0 NA NA
## 4 2018-03-21 Williamtown 19.8 21.4 21.8 NA NA
## 5 2020-05-13 MelbourneAirport 9.0 13.7 3.4 3.0 2.7
## 6 2014-11-16 Mildura 12.1 23.2 5.4 5.0 11.3
## wind_gust_dir wind_gust_speed wind_dir_9am wind_dir_3pm wind_speed_9am
## 1 SSE 33 SW SSE 15
## 2 W 33 NNW WSW 13
## 3 NNW 61 N N 17
....
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