On 27/03/2011 1:12 PM, Alexander Engelhardt wrote:
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
<>=
<>
@
This plots only the
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
<>=
<>
@
This plots only the first image of the four-page plot.lm() result
2 matches
Mail list logo