metrics-params | R Documentation |
Shared Parameters for Diagnostic Metrics
metricparams()
cm |
A dx_cm object created by |
detail |
Character specifying the level of detail in the output: "simple" for raw estimate, "full" for detailed estimate including 95% confidence intervals. |
... |
Additional arguments to pass to metric_binomial function, such as
|
boot |
Logical specifying if confidence intervals should be generated via bootstrapping. Note, this can be slow. |
bootreps |
The number of bootstrap replications for calculating confidence intervals. |
predprob |
Numeric vector of predicted probabilities associated with the positive class. |
truth |
Numeric vector of true binary outcomes, typically 0 or 1, with the same length as |
dx1 |
A |
dx2 |
A |
Depending on the detail
parameter, returns a numeric value
representing the calculated metric or a data frame/tibble with
detailed diagnostics including confidence intervals and possibly other
metrics relevant to understanding the metric.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.