2-Stage Preference Trial Design and Analysis

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 .


preference: An R package for Clinical Trials using Preference Design

Author: Briana Cameron and Michael J. Kane
Contributors: Denise Esserman
License: LGPL-2

Build Status Appveyor Build status Coverage Status

Install the package

if (!require(devtools)) install.packages("devtools", repos="https://cloud.r-project.org")
library(devtools)
install_github("kaneplusplus/preference")

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("preference")

1.1.6 by Michael Kane, 6 years ago


https://github.com/kaneplusplus/preference


Report a bug at https://github.com/kaneplusplus/preference/issues


Browse source code at https://github.com/cran/preference


Authors: Briana Cameron [aut, cph] , Denise Esserman [ctb] , Michael Kane [cre, ctb]


Documentation:   PDF Manual  


LGPL-2 license


Imports ggplot2, tidyr

Suggests testthat


See at CRAN