Package: preference Type: Package Title: 2-Stage Preference Trial Design and Analysis Version: 1.1.6 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 NeedsCompilation: no Packaged: 2026-10-12 23:15:38 UTC; root Author: Briana Cameron [aut, cph], Denise Esserman [ctb], Michael Kane [cre, ctb] () Maintainer: Michael Kane Config/pak/sysreqs: libicu-dev Repository: https://cranhaven.r-universe.dev Date/Publication: 2026-10-12 12:02:00 UTC RemoteUrl: https://github.com/cranhaven/cranhaven.r-universe.dev RemoteRef: package/preference RemoteSha: e1f46e9f4f9ab04c32e112f8458ab91268ba787f RemoteSubdir: preference