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 .

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

Build Status Appveyor Build status Coverage Status

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


preference 0.1.0

  • First version of the package including:
    • The design 2-stage clinical trials incorporating patient preference.
    • Power, effect size, and sample size calculations.

Reference manual

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


1.1.6 by Michael Kane, a year ago


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