fixef.lmList.Rd
The average of the coefficients corresponding to the lm
components of object
is calculated.
# S3 method for class '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
.
fm1 <- lmList(distance ~ age | Subject, Orthodont)
fixef(fm1)
#> (Intercept) age
#> 16.7611111 0.6601852
fixed.effects(fm1) # the same, using the longer alias
#> (Intercept) age
#> 16.7611111 0.6601852