Learn R Programming

prodlim (version 1.5.7)

plotCompetingRiskModel: Plotting a competing-risk-model.

Description

Plotting a competing-risk-model.

Usage

plotCompetingRiskModel(stateLabels, horizontal = TRUE, ...)

Arguments

stateLabels
Labels for the boxes.
horizontal
The orientation of the plot.
...
Arguments passed to plot.Hist.

See Also

plotIllnessDeathModel, plot.Hist

Examples

Run this code
plotCompetingRiskModel()
plotCompetingRiskModel(labels=c("a","b"))
plotCompetingRiskModel(labels=c("a","b","c"))

Run the code above in your browser using DataLab