Usage
## S3 method for class 'msm':
summary(object, times=NULL, timezero=NULL, initstates=NULL,
covariates="mean", misccovariates="mean", hazard.scale=1, \dots)
Arguments
object
A fitted multi-state model object, as returned by
msm
. times
A sequence of times at which to compare observed
and expected prevalences of each state. Defaults to
seq(min(times), max(times), (max(times) - min(times))/10).
timezero
Initial time of the Markov process. Expected values
are forecasted from here. Defaults to the minimum of the observation
times given in the data.
initstates
Optional vector of the same length as the number of
states. Gives the numbers of individuals occupying each state at
timezero
. The default is that all individuals are in state 1.
covariates
Covariate values for which to forecast expected
state occupancy. See qmatrix.msm
. Defaults to the
mean values of the covariates in the data set. misccovariates
(Misclassification models only) Values of covariates on the misclassification
probability matrix for which to forecast expected state occupancy.
Defaults to the mean values of the covariates in the data set.
hazard.scale
Vector with same elements as number of covariates
on transition rates. Corresponds to the increase in each covariate
used to calculate its hazard ratio. Defaults to all 1.
...
further arguments passed to or from other methods