residuals.lcc: Extract Residuals from a Fitted lcc Model
Description
Extracts residuals from the fitted longitudinal concordance correlation
model represented by an lcc object. Different types of residuals can
be obtained based on the specified type.
Usage
# S3 method for lcc
residuals(object, type = "response", ...)
Arguments
object
An object of class lcc, representing a fitted
longitudinal concordance correlation function.
type
A character string specifying the type of residuals to extract.
Options are "response" for residuals obtained by subtracting
the fitted values from the response (default), "pearson" for
"response" residuals divided by the estimated within-group standard error,
and "normalized" for normalized residuals. Partial matching is
used, so only the first character of the type is necessary.
...
Optional arguments passed to the residuals.lme
function from the nlme package.
Details
The function provides a convenient way to examine the differences between
observed and predicted values in the model. Understanding these residuals
can be crucial for model diagnostics and validation. For more information,
refer to the methods for nlme objects.