This class is used to determine what is going on in the trial at any given time. It is returned from the readyForAnalysis
and makeDecisions
functions within the trialDesign
class.
analyse
TRUE/FALSE whether the trials should fit the model
continue
TRUE/FALSE whether the trial should continue
cohort
A number specifying the current cohort
recruiting
TRUE/FALSE whether new patients can be recruited to the trial at present
stopReason
A string detailing why the trial is stopping
cohortSize
The number of patients to recruit before running the readyForAnalysis
function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.