Density of y-axis in histogram

Discuss the jamovi platform, possible improvements, etc.
Post Reply
Itsara
Posts: 2
Joined: Sat Dec 03, 2022 7:24 am

Density of y-axis in histogram

Post 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!
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: Density of y-axis in histogram

Post 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
Post Reply