| get_event_variable | R Documentation |
Parses the Surv() expression in survival model formulas to extract the event/status variable name. Works with coxph, clogit, and coxme models.
get_event_variable(model, model_class)
model |
Fitted survival model object. |
model_class |
Character string of the model class. |
Character string naming the event variable, or NULL if not found.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.