plotSurvivalCurves,CoxModel-method {PDATK} | R Documentation |
CoxModel
ObjectPlot Survival Curves from a Fit CoxModel
Object
## S4 method for signature 'CoxModel' plotSurvivalCurves(object, byCohort = TRUE, ..., facet.by = "cohort")
object |
A |
byCohort |
|
... |
Fall through parameters to |
facet.by |
What column of the object |
A ggplot
or list
of ggplot objects containing the survival
curves for each cohort in the trainData
slot of the CoxModel
.