surv.plot | R Documentation |
Once immune cell cutoffs are calculated, this function draw the subsequent Kaplan-Meier curves for specified populations.
surv.plot(
pop.cutoff.obj,
time.var,
event.var,
palette = "jco",
variables,
curve.type = "survival"
)
pop.cutoff.obj |
An object generated through |
time.var |
Survival time variable. |
event.var |
Variable with event censoring. |
palette |
Colors vector. Default = |
variables |
Vector with variables for drawing the survival curve. If nothing is detailed ( |
curve.type |
Plotting curve methodology, i.e. "survival" (default) or "cumulative" (for progressions). |
## Not run:
surv.plot(pop_cuts, time.var = "PFS", event.var = "PFS_c", curve.type = "survival")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.