Method-class: An S4 class representing a method to be run by simulator.

Method-classR Documentation

An S4 class representing a method to be run by simulator.

Description

An object of class Method consists of a name, label, and a function method that takes arguments model and draw. A draw refers to a single element of the list in an object of class Draws.

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.

settings

(optional) a list of "settings" for the method (e.g., tuning parameters or related information that might distinguish two otherwise identical methods).

method

a function that has arguments "model", "draw" and (optionally) names matching elements within names(settings)


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