plot.cuminc: Plot of predicted cumulative incidences according to a...

Description Usage Arguments Value Author(s) See Also

View source: R/plot.cuminc.R

Description

This function displays the predicted cause-specific cumulative incidences derived from a joint latent class model according to a profile of covariates.

Usage

1
2
## S3 method for class 'cuminc'
plot(x, profil, event, add = FALSE, legend, legend.loc = "topleft",  ...)

Arguments

x

an object of class cuminc

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" should be NULL.

legend.loc

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

Value

returns NULL

Author(s)

Viviane Philipps and Cecile Proust-Lima

See Also

Jointlcmm,plot.Jointlcmm,cuminc


lcmm documentation built on May 31, 2017, 5:19 a.m.

Search within the lcmm package
Search all R packages, documentation and source code