Re: [R] density plot & probabilities

2009-02-01 Thread Uwe Ligges
gregor rolshausen wrote: hello ! I have question concerning *kernel density plots*: how to plot 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 i

[R] density plot & probabilities

2009-02-01 Thread gregor rolshausen
hello ! I have question concerning *kernel density plots*: how to plot 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 0from 0 to 3. thats confu