Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
Smoothing Histograms Using ggplot
The figure below contrasts a histogram with a smoothed histogram using
ggplot function. To enhance the visualization, we made the histogram
semi-transparent using the
alpha argument (which takes a value between 0 and 1
indicating the transparency level):