[R] density plot of simulated exponential distributed data
chaij at umail.iu.edu
Thu Apr 28 20:39:16 CEST 2011
I tried logspline function using a lower bound 0 for my data, it works
like a charm. When the I changed the xlim only positive part, the
vertical line was also gone. That's exactly what I expected.
Greg Snow wrote:
> You might want to use the logspline package instead of the density function, it allows you to specify bounds on a distribution.
More information about the R-help