is.survival | R Documentation |
Test character describes survival object
is.survival(.name)
.name |
Character string to test |
Logical
var_s = "Surv(mort, time)"
is.survival(var_s) #TRUE
var_s = "Sur(mort, time)"
is.survival(var_s) #FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.