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.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.