Hi, does anyone know how do I plot confidence intervals as a shaded band around a curve, rather than as errors bars? many thanks, ulisses. [[alternative HTML version deleted]]
BARRES-DE-ALMEIDA U. <u.b.almeida <at> durham.ac.uk> writes:> does anyone know how do I plot confidence intervals as a shaded band around acurve, rather than as errors bars?>http://had.co.nz/ggplot2/geom_smooth.html Dieter
... or ?polygon in base graphics -- Bert Gunter -----Original Message----- From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Dieter Menne Sent: Wednesday, April 22, 2009 8:23 AM To: r-help at stat.math.ethz.ch Subject: Re: [R] plot confidence intervals as shaded band BARRES-DE-ALMEIDA U. <u.b.almeida <at> durham.ac.uk> writes:> does anyone know how do I plot confidence intervals as a shaded bandaround a curve, rather than as errors bars?>http://had.co.nz/ggplot2/geom_smooth.html Dieter ______________________________________________ R-help at 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.
Perhaps you'll be interested in denstrip package : http://cran.r-project.org/web/packages/denstrip/index.html Examples : http://www.mrc-bsu.cam.ac.uk/personal/chris/papers/denstrip.pdf 2009/4/22 BARRES-DE-ALMEIDA U. <u.b.almeida@durham.ac.uk>> Hi, > > does anyone know how do I plot confidence intervals as a shaded band around > a curve, rather than as errors bars? > > many thanks, > ulisses. > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. >[[alternative HTML version deleted]]
BARRES-DE-ALMEIDA U. wrote:> Hi, > > does anyone know how do I plot confidence intervals as a shaded band around a curve, rather than as errors bars? > >Hi Ulisses, The dispersion function in plotrix will draw lines rather than error bars, but there is as yet no fill option. I may have a look at that for the next version. Jim