update.mpjlcmm: Update the longitudinal submodels

View source: R/update.mpjlcmm.R

update.mpjlcmmR Documentation

Update the longitudinal submodels

Description

This function updates the longitudinal submodels of a mpjlcmm object by injecting the estimated parameters and their variances in each hlme/lcmm/multlcmm model used to define the multi-process joint model. The same (uni-process) models as specified in the mpjlcmm call are returned, with updated outputs for best, V, conv, cholesky, pred, predRE, predRE_Y, pprob. All postfit functions (plots, predictions, ...) can then be called on the updated hlme/lcmm/multlcmm models. See mpjlcmm's help page for examples.

Usage

## S3 method for class 'mpjlcmm'
update(object, ...)

Arguments

object

an estimated mpjlcmm model

...

not used

Value

A list of hlme/lcmm/multlcmm models. The models appear in the same order as specified in the call to the mpjlcmm function.


CecileProust-Lima/lcmm documentation built on March 3, 2024, 5:23 p.m.