simulateBaseline-class: simulateBaseline

Description Slots

Description

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.

Slots

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.


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