new_metric: Create a Metric object

View source: R/metric-class.R

new_metricR Documentation

Create a Metric object

Description

Creates a new Metric object.

Usage

new_metric(name, label, metric)

Arguments

name

a short name identifier. Must be alphanumeric.

label

a longer, human readable label that can have other characters such as spaces, hyphens, etc.

metric

a function with arguments "model" and "out" (and optionally "draw")


simulator documentation built on Feb. 16, 2023, 9:34 p.m.