powered by
survival::aareg
Autoplot survival::aareg
# S3 method for aareg autoplot( object, maxtime = NULL, surv.connect = TRUE, facets = TRUE, ncol = NULL, xlab = "", ylab = "", ... )
ggplot
survival::aareg instance
truncate the input to the model at time "maxtime"
logical frag indicates whether connects survival curve to the origin
Logical value to specify use facets
Number of facet/subplot columns
character vector or expression for x axis label
character vector or expression for y axis label
other arguments passed to autoplot.survfit
autoplot.survfit
if (FALSE) { if (requireNamespace("survival", quietly = TRUE)) { autoplot(aareg(Surv(time, status) ~ age + sex + ph.ecog, data = lung, nmin = 1)) } }
Run the code above in your browser using DataLab