preference: 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.

Package details

AuthorBriana Cameron [aut, cph], Denise Esserman [ctb], Michael Kane [cre, ctb] (<>)
MaintainerMichael Kane <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the preference package in your browser

Any scripts or data that you put into this service are public.

preference documentation built on July 1, 2020, 7:04 p.m.