[R] multiple visualisation of a bootstrap
Greg.Snow at imail.org
Sat Oct 25 04:52:17 CEST 2008
Or if you want the plots to not all be the same size and line up in various ways (boxplots as margins of scatter plot, etc.) then look at the layout function.
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
greg.snow at imail.org
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Ben Bolker
> Sent: Friday, October 24, 2008 8:14 AM
> To: r-help at stat.math.ethz.ch
> Subject: Re: [R] multiple visualisation of a bootstrap
> Fernando Marmolejo Ramos <fernando.marmolejoramos <at> adelaide.edu.au>
> > Dear R team
> > Vista offers a so-called Multiple Visualisation (MV) of the output of
> > bootstrap (it shows on the same window scatter plots for a particular
> > showing the bootstrapped CI, a scatter plot of
> > the evolution of the bootstrapped
> > mean over many sample sizes, a box plot, a QQ plot, and a histogram).
> > I wonder if there is any manner in which this sort of MV
> > could me mimicked by R
> > in the case of bootstrap. My best guess is that Id have to create a
> 3 by 2
> > frame an insert each graph separately or maybe resort to Trellis
> > graphics
> > right? Does anyone have a more sophisticated solution?
> I'm not sure this is the right kind of problem for Trellis graphics
> (which are geared toward using the same plot type for different
> subsets of the data in each panel, rather than different plot types
> of the same data). The "unsophisticated" solution (which seems
> just fine), as you suggest, is to use par(mfrow) or par(mfcol)
> to break up the plot window into frames, and then plot the
> different bits in each window.
> See http://emdbolker.wikidot.com/blog:dynamite for an example
> of plotting the same data in different ways within subplots
> for the code).
> As far as R is concerned, "sophisticated" would mean
> creating a plotting function for this so that you never
> had to look at the details again ...
> Ben Bolker
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help