Perform pre-specified analyses for an interim monitored trial design
Source:R/monitored_analysis.R
monitored_analysis.RdPerform pre-specified analyses for an interim monitored trial design
Usage
monitored_analysis(
data,
monitored_design = NULL,
estimation_function,
estimation_arguments,
correction_function = NULL,
control = monitored_analysis_control(),
...
)Arguments
- data
A data.frame containing the data to be analyzed. A column named
.idindicates which observations correspond to each individual.- monitored_design
An object of class
monitored_designcreated usinginitialize_monitored_design()- estimation_function
A function whose arguments include a data.frame named
data- estimation_arguments
A list of any additional arguments needed by
estimation_function- correction_function
A function which takes the arguments supplied to
estimation_functionand returns a numeric scalar which performs a small sample correction to the variance estimate- control
A list containing the control arguments for computation, typically created with
monitored_analysis_control()- ...
Additional arguments, currently ignored