View source: R/metric_lookup.R
metric_lookup | R Documentation |
This function is mostly a helper function that maps identifier strings to metrics for convenient use in some contexts.
metric_lookup(
metric,
fit = NULL,
draws = NULL,
testing_data = NULL,
vars_of_interest = NULL,
references = NULL,
threshold = 0.7,
psis_object = NULL,
ppred = NULL,
quantiles = NULL,
data_gen_output = NULL,
fit_conf = NULL,
...
)
metric |
A string that identifies a supported metric |
The function corresponding to the identifier string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.