fitted.lcc | R Documentation |
lcc
ObjectExtracts and prints the fitted values from an object of class
lcc
, as returned by modeling functions. The function allows selection
of different types of fitted values based on longitudinal data analysis.
## S3 method for class 'lcc'
fitted(object, type = "lcc", digits = NULL, ...)
object |
An object of class |
type |
The type of fitted values to extract: "lcc" for longitudinal concordance correlation, "lpc" for longitudinal Pearson correlation, or "la" for longitudinal accuracy. Defaults to "lcc". |
digits |
Minimum number of significant digits to be printed.
Default is |
... |
Additional arguments (currently not used). |
The function prints the fitted values and returns them as a data frame.
lcc
, summary.lcc
,
lccPlot
data(hue)
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.