Go to TogaWare.com Home Page. Data Science Desktop Survival Guide
by Graham Williams
Duck Duck Go



CLICK HERE TO VISIT THE UPDATED SURVIVAL GUIDE

Line Chart Density Distribution

20200428

\includegraphics[width=\textwidth]{figures/onepager/ggplot2:density_maxtemp-1}

ds %>%
  ggplot(aes(x=max_temp)) +
  geom_density() +
  labs(x=vnames["max_temp"], y="Density")

A density plot using ggplot2::geom_density() will convey the distribution of the values of a variable. Here, for example, we can see that max_temp has a roughly normal distribution with a peak around the low 20's (degrees Celsius) and fairly short tails.


Support further development by purchasing the PDF version of the book.
Other online resources include the GNU/Linux Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 2000-2020 Togaware Pty Ltd. . Creative Commons ShareAlike V4.