| is_surv_outcome | R Documentation |
Tests whether an outcome specification string represents a survival outcome by checking for the Surv() function pattern. Used to route model fitting to Cox proportional hazards methods.
is_surv_outcome(outcome)
outcome |
Character string of the outcome specification. |
Logical TRUE if outcome starts with "Surv(", FALSE otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.