lcc (version 1.1.0)

residuals.lcc: Extract Model Residuals

Description

Extract the residulas from the model used to estimate the longitudinal concordance correlation function.

Usage

# S3 method for lcc
residuals(object, type, ...)

Arguments

object

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

type

an optional character string specifying the type of residulas to be used. If type = "response", the default, the residuals at level i are obtained by subtracting the fitted values at that level from the response vector. If type = "pearson", the "response" residuals is divided by the estimated within-group standard error. If type = "normalized", the normalized residuals are used. Partial matching of arguments is used, so only the first character needs to be provided.

...

optional arguments passed to the residuals.lme function.

Details

See methods for nlme objects to get more details.

See Also

lcc, summary.lcc, coef.lcc, vcov.lcc

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
fm1<-lcc(data = hue, subject = "Fruit", resp = "H_mean",
         method = "Method", time = "Time", qf = 2, qr = 2)
getVarCov(fm1)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace