Skip to content
Prev 387265 / 398502 Next

overlaying frequency histograms or density plots in R

Thanks a lot Petr !

shall i uses "dodge" also for the RELATIVE FREQUENCY HISTOGRAMS :

p <- ggplot(iris, aes(x=Sepal.Length, y=..count../sum(..count..)*100,
colour=Species))
p+geom_histogram(position="dodge")

or is there any other way to display the RELATIVE FREQUENCY HISTOGRAMS ?

thanks again !
On Wed, Feb 24, 2021 at 11:00 PM PIKAL Petr <petr.pikal at precheza.cz> wrote: