survivor | R Documentation |
Survivor
survivor( DF, explicatives, time = "time", event = "event", names = explicatives, keep = 1, verbose = TRUE, round = 2 )
DF |
dataframe : data to be analysed |
explicatives |
vecor of character : columns of the dataframe to be analysed |
time |
character : name of the column representing time to event |
event |
character : name of the column representing the event |
names |
vector of character : name of the explicatives variables as it will be display on table |
keep |
vector of character : explicatives that should never be erased of thee model |
dataframe, excel file or html table depending on the exit parameter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.