powered by
Density curve overlaid on histogram
densityCurveOnHistogram(df, colName, limLow, limHigh)
A figure being a density curve overlaid on histogram
Data frame with data to be displayed
Name of the selected column in a given data frame
the limit on the lower side of the displayed range
the limit on the higher side of the displayed range
Lech Madeyski
densityCurveOnHistogram(Madeyski15EISEJ.PropProjects, "STUD", 0, 100) # densityCurveOnHistogram(data.frame(x<-rnorm(50, mean=50, sd=5)), 'x', 0, 100)
Run the code above in your browser using DataLab