Hi,
I'm just starting out with Sweave, and I can't get a plot(linmod) to display all four plots:

<< bild >>=
x1 <- runif(100)
x2 <- rexp(100)
y <- 3 + 4*x1 + 5*x2 + rnorm(100)

mod <- lm(y~x1+x2)
plot(mod)
@

Some Text

<<fig=TRUE>>=
<<bild>>
@

This plots only the first image of the four-page plot.lm() result.
I don't want to use par(mfrow=c(2,2)), but ideally I'd like to access each one of the four plots in a different section of my LaTeX-file.

Can you tell me how to do this?

Thanks in advance,
 Alex

______________________________________________
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