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 cuminc
plot(
x,
profil = 1,
event = 1,
add = FALSE,
legend,
legend.loc = "topleft",
...
)
returns NULL
an object of class cuminc
an integer giving the profile number for which the cumulative incidences are to be plotted.
an integer giving the event indicator for which the cumulative incidence are to be plotted.
logical indicating if the curves should be added to an existing plot. Default to FALSE.
character or expression to appear in the legend. If no legend
should be added, "legend"
should be NULL.
keyword for the position of the legend from the list
"bottomright"
, "bottom"
, "bottomleft"
, "left"
,
"topleft"
,"top"
, "topright"
, "right"
and
"center"
. By default, the legend is located in the top left of the
plot.
other parameters to be passed through to plotting functions
Viviane Philipps and Cecile Proust-Lima
Jointlcmm
, plot.Jointlcmm
, cuminc