The average of the coefficients corresponding to the lm
components of object
is calculated.
# S3 method for lmList
fixef(object, …)
an object inheriting from class "lmList"
, representing
a list of lm
objects with a common model.
some methods for this generic require additional arguments. None are used in this method.
a vector with the average of the individual lm
coefficients in
object
.
# NOT RUN {
fm1 <- lmList(distance ~ age | Subject, Orthodont)
fixed.effects(fm1)
# }
Run the code above in your browser using DataLab