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] (<https://orcid.org/0000-0003-1899-6662>)
MaintainerMichael Kane <michael.kane@yale.edu>
LicenseLGPL-2
Version1.1.3
URL https://github.com/kaneplusplus/preference
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("preference")

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.