Description Getting started Details
OptGS provides a suite of functions to assist with the design, analysis, and visualization of randomized two-arm group-sequential clinical trials with continuous outcome variables. Specifically, support is provided to perform sample size calculations for popular applicable (non-optimal) designs, along with optimal and near-optimal designs. An additional function allows point estimates to be determined and point estimators to be evaluated. Plotting functions also permit the informative depiction of several important quantities.
You can install the latest development version of OptGS from Github with:
devtools::install_github("mjg211/OptGS")
An introductory example of how to make use of the package's core functionality can be found here. For further help, please contact James Wason (james.wason@newcastle.ac.uk) or Michael Grayling (michael.grayling@newcastle.ac.uk) for assistance.
Currently, functions are provided to support trials in which the primary outcome variable is assumed to be normally distributed. In total, 11 functions are available. Their naming conventions are such that several character strings are joined together separated by underscores. The first character string indicates the type of calculation the function performs (e.g., design determination, operating characteristic calculations), and the remainder which type of design it is:
build
: Build a group-sequential clinical trial design
object for a normally distributed primary outcome.
des_gs
: Design a group-sequential clinical trial for a
normally distributed primary outcome.
des_nearopt
: Design a near-optimal group-sequential
clinical trial for a normally distributed primary outcome.
des_opt
: Design an optimal group-sequential clinical
trial for a normally distributed primary outcome.
est
: Evaluate point estimators of the treatment effect in
group-sequential clinical trial design data for a normally distributed
primary outcome.
gui
: Provides a graphical user interface to design
determination and point estimator evaluation.
opchar
: Calculate the operating characteristics of a
group-sequential clinical trial design for a normally distributed primary
outcome.
plot.OptGS_des
: Plot the stopping boundaries of a
group-sequential clinical trial design for a normally distributed primary
outcome.
plot.OptGS_opchar
: Plot the operating characteristics of
a group-sequential clinical trial design for a normally distributed primary
outcome.
print.OptGS_des
: Print the key details of a
group-sequential clinical trial design for a normally distributed primary
outcome.
sim
: Simulate group-sequential clinical trials for a
normally distributed primary outcome.
summary.OptGS_des
: Summarise the key details of a
group-sequential clinical trial design for a normally distributed primary
outcome.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.