View source: R/helpfunctions.R
clean_survname | R Documentation |
A helper function that converts the "name of a survival model"
(the "Surv(time, status)"
specification) into a valid variable name
so that it can be used in the JAGS model syntax.
clean_survname(x)
x |
a character string or vector of character strings |
clean_survname("Surv(eventtime, event != 'censored')")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.