msm
model.## S3 method for class 'survfit.msm':
plot(x, from=1, to=NULL, range=NULL, covariates="mean",
interp=c("start","midpoint"), ci=c("none","normal","bootstrap"), B=100,
legend.pos=NULL, xlab="Time", ylab="Survival probability",
lty=1, lwd=1, col="red", lty.ci=2, lwd.ci=1, col.ci="red",
mark.time=TRUE, col.surv="blue", lty.surv=2, lwd.surv=1,
...)
msm
, representing a fitted
multi-state model object."mean"
, denoting the means of the covariates in
the data (this is the default),
the number 0
, indicating that all the cova"none"
(the default) no confidence intervals are
plotted. If "normal"
or "bootstrap"
, confidence
intervals are plotted based on the respective method in
pmatr
interp="start"
(the default) then the entry
time into the absorbing state is assumed to be the time it is first
observed in the data.
If interp="midpoint"
then the entry time into the absorbing
state is assumedpar
.par
.par
.par
.par
.par
.lines.survfit
.lines.survfit
. See par
.lines.survfit
. See par
.lines.survfit
. See par
.plot
function which draws the fitted curve, or the lines.survfit
function which draws the empirical cuThis currently only handles time-homogeneous models.
survfit
, plot.survfit
, plot.prevalence.msm