Hi, there,
 
I found density function cannot work well on UNIX.R
version 2.13.1 (2011-07-08), Platform: i386-pc-solaris2.10 (32-bit)

Here is an example from R doucments which can work well on other version.

plot(density(c(-20,rep(0,98),20)), xlim = c(-4,4))# 
 
But right now the estimated probablity =0 for all point.
 
Do I need do something about float point?

Thanks.
Alex

______________________________________________
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.

Reply via email to