Plotting a competing-risk-model.

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>

Examples


plotCompetingRiskModel()
#> Warning: The dimension of the boxes may depend on the current graphical device
#> in the sense that the layout and centering of text may change when you resize the graphical device and call the same plot.

plotCompetingRiskModel(labels=c("a","b"))
#> Warning: The dimension of the boxes may depend on the current graphical device
#> in the sense that the layout and centering of text may change when you resize the graphical device and call the same plot.

plotCompetingRiskModel(labels=c("a","b","c"))
#> Warning: The dimension of the boxes may depend on the current graphical device
#> in the sense that the layout and centering of text may change when you resize the graphical device and call the same plot.