View source: R/calibration_curve.R
calibrationCurve | R Documentation |
This function calculates a vector of values for the calibration curve.
calibrationCurve(
truth_name,
prob_name,
nbins = 10L,
remove_critical_bins = TRUE
)
truth_name |
('character(1L)') Character containing the name of the vector of 0-1-values encoded as integer or numeric. |
prob_name |
('character(1L)') Character containing the name of the vector of probabilities. |
nbins |
('integer(1L)') Number of bins between 0 and 1 (default is 10). |
remove_critical_bins |
('logical(1L)') Just remove critical bins and return just bins with 'length(bin) > n_critical'. |
Brier score and number of values used as weights for later aggregation.
Daniel S.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.