cal_table | R Documentation |
Use to obtain a calibration table for a predictive model
cal_table(predictr = NULL, fit = NULL, risk_ntile = 10, risk_class = NULL)
predictr |
Output from the predictr function (alternative to fit parameter) |
fit |
Logistic regression fit object (alternative to predictr parameter) |
risk_ntile |
Numerical value specifying the number of predictive risk quantiles (default=10) |
risk_class |
Numerical list specifying the cutoffs for predictive risk classes (default=NULL; range: 0 to 1) |
Tibble of the number of events / sample per risk quantile or risk classes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.