fitted.lcc {lcc} | R Documentation |
Extract lcc
Fitted Values
Description
Fitted values from object of class lcc
returned by modeling functions.
Usage
## S3 method for class 'lcc'
fitted(object, type, digits, ...)
Arguments
object |
an object inheriting from class |
type |
an optional character string specifying the type of
output to be returned. If |
digits |
a non-null value for |
... |
not used. |
Value
A data frame with columns given by methods, time, and fitted values.
No return value, called for side effects
Author(s)
Thiago de Paula Oliveira, thiago.paula.oliveira@alumni.usp.br
See Also
Examples
data(hue)
## Second degree polynomial model with random intercept, slope and
## quadratic term
## Not run:
fm1 <- lcc(data = hue, subject = "Fruit", resp = "H_mean",
method = "Method", time = "Time", qf = 2, qr = 2,
components = TRUE)
fitted(fm1)
fitted(fm1, type="lpc")
fitted(fm1, type="la")
## End(Not run)