Description Usage Arguments Value Author(s)
Survival curves displaying number at risk.
1 2 3 4 5 6 7 8 | kmNatrisk(km, mark = 3, simple = FALSE, xaxis.at = pretty(km$time),
xaxis.lab = xaxis.at, lty.surv = 1, lwd.surv = 1, col.surv = 1,
lty.ci = 0, lwd.ci = 1, col.ci = col.surv, group.names = NULL,
group.order = seq(length(km$n)), extra.left.margin = 4,
label.n.at.risk = FALSE, draw.lines = TRUE, cex.axis = 1, xlab = "",
ylab = "", main = "", xlim = c(0, max(km$time)), ylim = c(0, 1),
grid = TRUE, lty.grid = 1, lwd.grid = 1, col.grid = grey(0.9),
legend = !is.null(km$strata), loc.legend = "topright", add = FALSE, ...)
|
km |
output from |
draws Kaplan Meier curves with N at risk.
JG
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.