hello !
I have question concerning *kernel density plots*:
how to plot <density vs. the probability> of a vector, when that vector
is very short (5-10 values)?
I tried:
> plot(density(x))
or
> hist(x,probability=T,border="white")
> lines(density(x))
for small length of vectors, the ylab is not 0<ylab<1 but fro example
from 0 to 3. thats confusing for a density... why is that?
thanks for your time.
cheers,
gregor
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.