lcc (version 1.1.0)

fitted.lcc: Extract lcc Fitted Values

Description

Fitted values from object of class lcc returned by modeling functions.

Usage

# S3 method for lcc
fitted(object, type, digits, ...)

Arguments

object

an object inheriting from class lcc, representing a fitted longitudinal concordance correlation function.

type

an optional character string specifying the type of output to be returned. If type="lcc", prints the fitted longitudinal concordance correlation. If type="lpc", prints the fitted longitudinal Pearson correlation. If type="la", prints the fitted longitudinal accuracy. Defaults to type="lcc".

digits

a non-null value for digits specifies the minimum number of significant digits to be printed in values. The default, NULL.

...

not used.

Value

A data frame with columns given by methods, time, and fitted values.

See Also

lcc, summary.lcc, lccPlot

Examples

Run this code
# NOT RUN {
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")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab