Re: [R] density plot of simulated exponential distributed data

From: Juanjuan Chai <>
Date: Thu, 28 Apr 2011 14:39:16 -0400

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.
> mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 28 Apr 2011 - 19:20:42 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 28 Apr 2011 - 19:30:34 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive