metric_lookup: Access metrics with string identifiers

View source: R/metric_lookup.R

metric_lookupR Documentation

Access metrics with string identifiers

Description

This function is mostly a helper function that maps identifier strings to metrics for convenient use in some contexts.

Usage

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,
  ...
)

Arguments

metric

A string that identifies a supported metric

Value

The function corresponding to the identifier string.


sims1253/bayesim documentation built on Aug. 13, 2024, 5:59 p.m.