Automatic Plotting for `SurvivalQuantities“
Source:R/SurvivalQuantities.R
autoplot.SurvivalQuantities.Rd
Automatic Plotting for `SurvivalQuantities“
Usage
# S3 method for class 'SurvivalQuantities'
autoplot(object, conf.level = 0.95, add_km = FALSE, add_wrap = TRUE, ...)
Arguments
- object
(
SurvivalQuantities
)
survival quantities.- conf.level
(
numeric
)
confidence level of the interval. If values ofFALSE
,NULL
or0
are provided then confidence regions will not be added to the plot- add_km
(
logical
)
ifTRUE
Kaplan-Meier curves will be added to the plot for each group/subject.- add_wrap
(
logical
)
ifTRUE
will apply aggplot2::facet_wrap()
to the plot by each group/subject.- ...
not used.
See also
Other SurvivalQuantities:
SurvivalQuantities-class
,
as.data.frame.SurvivalQuantities()
,
brierScore.SurvivalQuantities()
,
summary.SurvivalQuantities()
Other autoplot:
autoplot()
,
autoplot.LongitudinalQuantities()