Skip to content
Prev 22566 / 398502 Next

Weird densityplot behaviour

When I do: 
rx<-rnorm(500)
densityplot(rx)

I get something that looks reasonable.

However, when I do:
rx<-rnorm(5)
densityplot(rx)

I get strange results sometimes...
For example, if rx = c(1,1,1,1,2), then the resulting plot shows marginal 
densities greater than 1.  I must be overlooking something.

Thanks.
geoff

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._