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)
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)