mplot3
: Survival PlotsPlots survival step functions using mplot3.xy
mplot3.surv(x, lty = 1, lwd = 2, alpha = 1, col = NULL,
normalize = TRUE, cex = 1.2, xlab = "Time", ylab = "Survival",
main = "Kaplan-Meier estimate with 95% CI", group.legend = NULL,
group.title = "", group.names = NULL, group.side = 3,
group.adj = 0.98, group.padj = 2, group.at = NA,
par.reset = TRUE, ...)
Survival object / list of Survival objects created using survival::Surv
Integer: Line type. Default = 1. See par("lty")
Float: Line width. Default = 2
Float: Alpha for lines. Default = 1
Logical: If TRUE: drange x
to 0:100
Float: Character expansion factor (See ?par
)
String: x-axis label
String: y-axis label
String: Plot title
Logical: If TRUE, place group.names
in a legend
String: Group title, shown above group names. e.g. if group names are
c("San Francisco", "Philadelphia"), group.title
can be "Place of residence"
(Optional) If multiple groups are plotted, use these names if group.title = TRUE
Additional arguments to pass to mplot3.xy