[R] density function cannot work well on UNIX R version 2.13.
alex46015 at yahoo.com
alex46015 at yahoo.com
Wed Aug 31 19:04:34 CEST 2011
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
More information about the R-help
mailing list