Plotting an illness-death-model using plot.Hist
.
plotIllnessDeathModel(stateLabels, style = 1, recovery = FALSE, ...)
Labels for the three boxes.
Either 1
or anything else, switches the orientation of
the graph. Hard to explain in words, see examples.
Logical. If TRUE
there will be an arrow from the
illness state to the initial state.
Arguments passed to plot.Hist.
Thomas Alexander Gerds <tag@biostat.ku.dk>
plotCompetingRiskModel
, plot.Hist
plotIllnessDeathModel()
plotIllnessDeathModel(style=2)
plotIllnessDeathModel(style=2,
stateLabels=c("a","b\nc","d"),
box1.col="yellow",
box2.col="green",
box3.col="red")
Run the code above in your browser using DataLab