Learn R Programming

simMSM (version 1.1.2)

meancentering: Mean Centering with Taking Care of the Transition Type(s)

Description

This function is needed inside the simEBMT function.

Usage

meancentering(d, x, q, x.name, q.name)

Arguments

d
dat set
x
covariate
q
transition type(s)
x.name
name of the covariate for pasting the new transition type specific covariate name
q.name
name of the transition type for pasting the new transition type specific covariate name

Value

  • A data set containing simulated event histories.

Details

Mean centering with taking care of transition-types is important for boosting of partial likelihood multi-state models as implemented by the package gamboostMSM.