new_method: Create a Method object

View source: R/method-class.R

new_methodR Documentation

Create a Method object

Description

Creates a new Method object.

Usage

new_method(name, label, method, settings = list())

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.

method

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

settings

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


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