Рет қаралды 13,395
In this tutorial I show how to create Density Charts in R with ggplot() and geom_density(). The examples are based in the R-Graph Gallery. I show how density charts are different form histograms and how to visualize multiple different distributions at once.
I also describe how to annotate them and how to add them to the margins of scatter plots.
⏱ Time Stamps ⌚
0:00 - Intro and video overview
1:40 - Histogram and density plot differences
3:50 - geom_density() function arguments
6:01 - Mirror density plot
6:37 - Multiple density plots
8:43 - Annotation with geom_text()
10:10 - Marginal distributions
10:40 - Density plot and boxplot infographic on powerlifting
External Links:
www.r-graph-gallery.com/densi...
www.data-to-viz.com/graph/den...
en.wikipedia.org/wiki/Kernel_...
github.com/sianbladon/Data-Vi...
github.com/sianbladon/Data-Vi...
♫ Background Music ♪
"Sappheiros - Dawn" is under a Creative Commons license (CC BY 3.0)
Music promoted by BreakingCopyright: bit.ly/2OBe00v
---------------------------------
Music : Way Home by Tokyo Music Walker
Stream & Download : fanlink.to/tmw_way_home
Creative Commons - Attribution 3.0 Unported - CC BY 3.0
---------------------------------
Ambient Music (No Copyright) "Art Of Silence" by Uniq 🇳🇴
"Uniq - Art Of Silence" is under a Creative Commons license (CC BY-NC-SA 3.0)
Music promoted by BreakingCopyright: bit.ly/uniq-art-of-silence
---------------------------------