Take a look at pvladens() function in "bootruin" package. Ravi.
____________________________________________________________________ Ravi Varadhan, Ph.D. Assistant Professor, Division of Geriatric Medicine and Gerontology School of Medicine Johns Hopkins University Ph. (410) 502-2619 email: rvarad...@jhmi.edu ----- Original Message ----- From: Jim Silverton <jim.silver...@gmail.com> Date: Saturday, March 19, 2011 10:16 pm Subject: Re: [R] Part of a density plot To: r-help@r-project.org > Suupose I have > y <- rbeta(10000, 2, 5) > and I only want to see only the density plot from x = 0 to x = 1 > How do I do this? > > -- > Thanks, > Jim. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > > PLEASE do read the posting guide > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ 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.