Learn R Programming

simulator (version 0.2.5)

Aggregator-class: An S4 class for aggregating evaluated metrics

Description

An object of class Aggregator consists of a label and a function aggregate that has a single argument ev that is a list of length equal to the number of draws. This list consists of the evaluated values of all metrics on a single method for a single model.

Arguments

Slots

label

a human readable label that will be a prefix to the Eval's label

aggregate

a function with argument ev that is a list of length nsim and returns a scalar.