Re: [R] Visualize quartiles of plot line

From: Mark Difford <mark_difford_at_yahoo.co.uk>
Date: Sat, 16 Jun 2007 04:07:07 -0700 (PDT)

Hi Arne,

You might also take a look at Prof. Harrell's function:

require(Hmisc) ## req. library [note: also needs lattice] ?smedian.hilow

Then look at:

?xYplot

And, in particular, at: panel.xYplot(), sub "Usage:"

This does what you want.

## Example; also look at Prof Harrell's examples xYplot(Murder ~ UrbanPop, data=USArrests, method='quantiles')

HTH, Regards,
Mark.

Arne Brutschy-2 wrote:
>
> Hello,
>
> I'm currently using a simple plot to visualize some mean values. I'm
> having ~200 datapoints on the x-axis, each has 10 records. I'm
> currently plotting only the mean value of each of the datapoints.
>
> What I need is a way to visualize the quartiles/error/whatever of
> these points. I thought about boxplots, but I have to many points on
> the xaxis - it would be impossible to see anything. I though that it
> would be nice to have a "hull" around each line, indicate the width of
> the quartiles, visualized by a different background. It's like a very
> wide boxplot with a changing mean value...
>
> Is this possible with r? Does anyone know what I mean and/or has done
> this before?
>
> Thanks
> Arne
>
> ______________________________________________
> R-help_at_stat.math.ethz.ch 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.
>
>

-- 
View this message in context: http://www.nabble.com/Visualize-quartiles-of-plot-line-tf3932181.html#a11153111
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_stat.math.ethz.ch 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.
Received on Sat 16 Jun 2007 - 11:11:33 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 Sat 16 Jun 2007 - 12:32:02 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.