fitted.lmList
Extract lmList Fitted ValuesThe fitted values are extracted from each lm
component of object
and arranged into a list with as many components as object
, or combined into a single vector.
## S3 method for class 'lmList' fitted(object, subset, asList, ...)
object | an object inheriting from class |
subset | an optional character or integer vector naming the |
asList | an optional logical value. If |
... | some methods for this generic require additional arguments. None are used in this method. |
a list with components given by the fitted values of each lm
component of object
, or a vector with the fitted values for all lm
components of object
.
José Pinheiro and Douglas Bates [email protected]
fm1 <- lmList(distance ~ age | Subject, Orthodont) fitted(fm1)
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.