effects(object, ...) effects.lm(object, set.sign=FALSE)
object
|
list; typically, the result of a model fitting function
such as lm
|
set.sign
|
logical ~~Describe set.sign here~~
|
model.matrix
, the first p effects correspond to
coefficients and the remaining n-p ones to residuals.This page is not complete yet!
residuals
. The first p values are labeled
according to the corresponding coefficients, the remaining ones are
unlabeled.
The result currently has class
"coef"
.
...... FIXME ......
coef
, fitted
, etc.y <- c(1:3,7,5) x <- c(1:3,6:7) ( ee <- effects(lm(y ~ x)) ) c(round(ee - effects(lm(y+10 ~ I(x-3.8))),3))# just the first is different