plot.residuals.joint: Plot joint model residuals

View source: R/fitted.R

plot.residuals.jointR Documentation

Plot joint model residuals

Description

Plot residuals obtained by a joint model (obtained by joint). If the residuals.joint object represents the longitudinal process, a simple (paneled) plot is produced (one for each response). If the residual object contains the Cox-Snell residuals then several plots are produced (interactively): The KM estimate of survival function of said residuals and then repeated for each survival covariate in the model call to joint (if requested).

Usage

## S3 method for class 'residuals.joint'
plot(x, strata = FALSE, ...)

Arguments

x

an object with class residuals.joint.

strata

logical, should strata (for the survival sub-model only). Defaults to strata = FALSE which produces only one plot of Cox-Snell residuals.

...

additional arguments (none used).

Author(s)

James Murray (j.murray7@ncl.ac.uk).

See Also

residuals.joint


gmvjoint documentation built on Oct. 6, 2024, 1:07 a.m.