Description
2-Stage Preference Trial Design and Analysis.
Description
Design and analyze two-stage randomized trials with a continuous outcome measure. The package contains functions to compute the required sample size needed to detect a given preference, treatment, and selection effect; alternatively, the package contains functions that can report the study power given a fixed sample size. Finally, analysis functions are provided to test each effect using either summary data (i.e. means, variances) or raw study data <doi:10.18637/jss.v094.c02>.
README.md
preference: An R package for Clinical Trials using Preference Design
Author: Briana Cameron and Michael J. Kane
Contributors: Denise Esserman
License:LGPL-2
Install the package
if (!require(devtools)) install.packages("devtools", repos="https://cloud.r-project.org")
library(devtools)
install_github("kaneplusplus/preference")