A class and generator function to store a function which simulates baseline data one patient at a time and appends it to the current data.
fun
Does the simulation and appends 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
class then it will throw a meaningful error.
This function should also be capable of creating the dataframe if provided with an empty data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.