Metric-class: An S4 class representing an evaluation metric to be used by...

Metric-classR Documentation

An S4 class representing an evaluation metric to be used by simulator.

Description

An object of class Metric consists of a name, label, and a function metric that takes arguments model (of class Model) and out (of class Output), which is the output of a method.

Details

This class inherits from the Component class.

Slots

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.