kassambara / easyGgplot2

34 stars 10 forks source link

ggplot2.histogram does not show frequency counts on y axis when addDensity=T #7

Open ClaudiaNdf opened 3 years ago

ClaudiaNdf commented 3 years ago

When I plot a histogram with density, I have not been able to plot counts on the y-axis, even with the param scale="frequency" set.

This is the code I used: ggplot2.histogram(data=t, xName='Value', groupName='Typ', legendPosition="top", alpha=0.5, addDensity=T, position = "dodge", groupColors = c('#fc8d59','#91bfdb'), scale = "frequency", bins = 10)