simulateOutcome-class: simulateOutcome

Description Slots

Description

A class and generator function to store a function which simulates outcome data and adds it to the current data. This function may rely on the current Decision object.

Slots

fun

Does the simulation and adds the new data. This function should allow any number of arguments to be passed to it using .... This function must return the data.

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.