Learn R Programming

prodlim (version 2025.04.28)

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.

Author

Thomas Alexander Gerds <tag@biostat.ku.dk>

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