cohort | R Documentation |
Get a vector of integers that reflect the cohorts to which the evaluated patients belong.
cohort(x, ...)
x |
Object of type |
... |
Extra args are passed onwards. |
an integer vector
skeleton <- c(0.05, 0.1, 0.25, 0.4, 0.6)
target <- 0.25
model <- get_dfcrm(skeleton = skeleton, target = target)
fit <- model %>% fit('1NNN 2NTN')
fit %>% cohort()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.