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 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.

No return value, called for side effects

Author(s)

Thiago de Paula Oliveira, thiago.paula.oliveira@alumni.usp.br

See Also

lcc, summary.lcc, lccPlot

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)


[Package lcc version 1.1.4 Index]