experimentalModel-class: experimentalModel

Description Slots

Description

A class and generator function to store a function which runs the model and returns detailed results of the run. The more results it returns the easier it will be to make different decisions. If this is purely a rule based approach then the default for fun can be used which returns NULL. Then the rules can be written entirely in the makeDecisions component.

Slots

fun

Fits the model. This function should allow any number of arguments to be passed to it using .... This function can return anything but the more useful information the better.

To reduce the risk of errors we recommend specifying the inputs required without defaults. This way if none are specified in p for the trialDesign class then it will throw a meaningful error.


finite2/trialSim documentation built on May 16, 2019, 12:54 p.m.