[R] yaxis for plot(density(...))

Taka Matzmoto sell_mirage_ne at hotmail.com
Thu Mar 30 06:05:12 CEST 2006


Hi R users
I have a question for yaxis for plot(density(...)).

plot(density(rnorm(1000000,.25,0.0701361)),xlim=c(-.5,1),col="red",xlab="",main="")

I expected that yaxis is a probabilty (from 0 to 1) but it wasn't

I got 1 to 5 or 6 on yaxis.

How do I interpret yaxis values ?

Thanks

TM




More information about the R-help mailing list