fitted.lcc: Extract 'lcc' Fitted Values

Description Usage Arguments Value Author(s) See Also Examples

View source: R/methods.R

Description

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

Usage

1
2
## 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.

Author(s)

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

See Also

lcc, summary.lcc, lccPlot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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)

lcc documentation built on Feb. 26, 2021, 5:07 p.m.

Related to fitted.lcc in lcc...