Skip to content
Prev 76136 / 398502 Next

help on retrieving output from by( ) for regression

Look more carefully at 
?lm 
at the See Also section ...

X <- rnorm(30)
Y <- rnorm(30)
lm(Y~X)
summary(lm(Y~X))

Best,
Matthias