Plot of predicted cumulative incidences according to a profile of covariates
This function displays the predicted cause-specific cumulative incidences derived from a joint latent class model according to a profile of covariates. does. ~~
## S3 method for class 'cuminc' plot(x, profil = 1, event = 1, add = FALSE, legend, legend.loc = "topleft", ...)
x |
an object of class |
profil |
an integer giving the profile number for which the cumulative incidences are to be plotted. |
event |
an integer giving the event indicator for which the cumulative incidence are to be plotted. |
add |
logical indicating if the curves should be added to an existing plot. Default to FALSE. |
legend |
character or expression to appear in the legend. If no legend
should be added, |
legend.loc |
keyword for the position of the legend from the list
|
... |
other parameters to be passed through to plotting functions |
returns NULL
Viviane Philipps and Cecile Proust-Lima
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.