An S4 class generic function dispatched to a certain method
to plot mean cumulative function by using ggplot2 plotting system.
The plots generated are able to be further customized properly.
A logical value indicating
whether to plot confidence interval.
The default value is FALSE.
...
Other arguments for further usage.
mark.time
A logical value with default FALSE.
If TRUE, each censoring time is marked by "+" on the MCF curves.
Otherwise, the censoring time would not be marked.
lty
An optional numeric vector indicating
line types specified to different groups:
0 = blank, 1 = solid, 2 = dashed, 3 = dotted,
4 = dotdash, 5 = longdash, 6 = twodash.
col
An optional character vector indicating
line colors specified to different groups.
Value
A ggplot object.
Methods (by class)
sampleMcf: Plot sample MCF from data.
rateRegMcf: Plot estimated MCF from a fitted model.
See Also
mcf for estimation of MCF;
rateReg for model fitting.