new_metric: Create a Metric object

Description Usage Arguments

View source: R/metric-class.R

Description

Creates a new Metric object.

Usage

1
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 May 1, 2019, 8:40 p.m.