View source: R/risk_stratify.R
| risk_stratify | R Documentation |
Classifies risk probabilities into Low, Watchlist, High, and Critical groups.
risk_stratify(risk, cutoffs = c(0.25, 0.5, 0.75))
risk |
Numeric vector of predicted risk probabilities. |
cutoffs |
Numeric vector of three cutoffs. Default is c(0.25, 0.50, 0.75). |
Ordered factor of risk categories.
risk_stratify(c(0.1, 0.4, 0.6, 0.9))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.