That's perfect! Thanks for the help. For those in the future who may have a
similar question, here's how I did it:

nf <- layout(matrix(c(1,1,2,2,3,3,0,4,4,5,5,0), 2, 6, byrow=TRUE),
respect=FALSE)
  for (i in 1:5){
    x = rnorm(100)
    y = .5*x + rnorm(100, 0, sqrt(1-.5^2))
    plot(x,y)
  }

On Mon, Jul 9, 2012 at 6:03 PM, R. Michael Weylandt <
michael.weyla...@gmail.com> <michael.weyla...@gmail.com> wrote:

> Take a look at ?layout
>
> Michael
>
> On Jul 9, 2012, at 5:15 PM, Dustin Fife <fife.dus...@gmail.com> wrote:
>
> > Let me start with an example:
> >
> > par(mfrow=c(2,3))
> > for (i in 1:5){
> >    x = rnorm(100)
> >    y = .5*x + rnorm(100, 0, sqrt(1-.5^2))
> >    plot(x,y)
> > }
> >
> > Note that there's five plots and six spaces for those plots via mfrow,
> > leaving one row empty. Is there a way to have the bottom two plots
> > centered? I think it looks weird to have them left-justified. Thanks in
> > advance for the help!
> >
> > --
> > Dustin Fife
> > PhD Student
> > Quantitative Psychology
> > University of Oklahoma
> >
> >    [[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.
>



-- 
Dustin Fife
PhD Student
Quantitative Psychology
University of Oklahoma

        [[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.

Reply via email to