Page 1 of 1

Density of y-axis in histogram

Posted: Fri Dec 09, 2022 5:08 am
by Itsara
I created a histogram for my quantitative variable with exploration tab -> descriptives and the result showed that y-axis is labelled "density" instead of frequency (like hist() function in R), Just want to make sure how the "density" in y-axis in jamovi histogram is made from? Is it frequency density or relative frequency density?
Many thanks!

Re: Density of y-axis in histogram

Posted: Fri Dec 09, 2022 10:50 am
by MAgojam
Hey @Itsara,
I think if you visit the sources here:
https://github.com/jamovi/jmv/blob/master/R/descriptives.b.R#L948-L1038
you will find the answer you are looking for.

Cheers,
Maurizio