survival | R Documentation |
An easy wrapper around survival analysis as implemented in the packages survival
and survminer
.
This package is meant to easily facilitate survival analysis for test variables (given in testvardf
), using time-to-event and event-status variables (given in clinvardf
).
It also supports multivariable modelling using other variables in clinvardf
, which are called according to their column names as provided by multivarnames
.
survival( testvardf, clinvardf, vartypes, multivarnames, timevarname, statusvarname, outdir )
testvardf |
|
clinvardf |
|
vartypes |
|
multivarnames |
|
timevarname |
|
statusvarname |
|
outdir |
|
Does not return anything; instead, will save survival analysis plots, Cox regression models, and frozen data to outdir.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.