ClustRand | R Documentation |
This function performs a simulation-based evaluation of operating characteristics for cluster-randomized trials with normally distributed or binary endpoints. A multi-arm clinical trial is assumed (control arm and several treatment arms). For examples of the function call, see ClustRandExample1 or ClustRandExample2.
ClustRand(parameters)
parameters |
List of the trial design and other parameters. The required elements are defined below:
|
The function returns an object of class ‘ClustRandResults’. This object is a list with the following components:
parameters |
List containing the user-specified parameters. |
pval_results |
Data frame containing the convergence flags and p-values for each simulation run. |
coef_results |
Data frame containing the convergence flags and model parameter estimares for each simulation run. The data frame is created if the descriptive statistics are requested ( |
cluster_size_results |
Data frame containing the cluster sizes for each simulation run if the cluster sizes are random ( |
sim_summary |
List containing the key operating characteristics of the cluster-randomized design. |
A detailed summary of the simulation results can be created using the GenerateReport
function.
ClustRandApp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.