Package: preference Type: Package Title: 2-Stage Preference Trial Design and Analysis Version: 1.1.5 Authors@R: c( person(given="Briana", family="Cameron", email="briana.cameron@yale.edu", role=c("aut", "cph")), person(given="Denise", family="Esserman", email="denise.esserman@yale.edu", role="ctb"), person(given="Michael", family="Kane", email="michael.kane@yale.edu", role=c("cre", "ctb"), comment = c(ORCID = "http://orcid.org/0000-0003-1899-6662"))) URL: https://github.com/kaneplusplus/preference BugReports: https://github.com/kaneplusplus/preference/issues 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. License: LGPL-2 Imports: ggplot2, tidyr Suggests: testthat Encoding: UTF-8 RoxygenNote: 7.1.1 LazyData: true Config/pak/sysreqs: libicu-dev Repository: https://kaneplusplus.r-universe.dev Date/Publication: 2020-09-08 18:35:02 UTC RemoteUrl: https://github.com/kaneplusplus/preference RemoteRef: HEAD RemoteSha: e0f11a502d82644bd728fbaa0bf60d999ea30361 NeedsCompilation: no Packaged: 2026-07-04 05:53:42 UTC; root Author: Briana Cameron [aut, cph], Denise Esserman [ctb], Michael Kane [cre, ctb] (ORCID: ) Maintainer: Michael Kane