plotprog.msm(formula, subject, data, legend.pos=NULL, xlab="Time",
ylab="1 - incidence probability", lwd=1, xlim=NULL,
mark.time=TRUE, ...)
state ~ time
Observed states should be in the set 1, ..., n
,
where n
is the num
formula
. If missing, then all observations
are assumed to be on the same subject. These must be sorted so that
all observations on the same subject are adjacent.state
, time
and subject
can be found.par
.lines.survfit
.plot
and lines.survfit
functions.plotprog.msm
will be
overestimates.survfit
, plot.survfit