Package: preference 1.1.6
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 <doi:10.18637/jss.v094.c02>.
Authors:
preference_1.1.6.tar.gz
preference_1.1.6.zip(r-4.7-any)preference_1.1.6.zip(r-4.6-any)preference_1.1.6.zip(r-4.5-any)
preference_1.1.6.tgz(r-4.6-any)preference_1.1.6.tgz(r-4.5-any)
preference_1.1.6.tar.gz(r-4.7-any)preference_1.1.6.tar.gz(r-4.6-any)
preference_1.1.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
preference/json (API)
| # Install 'preference' in R: |
| install.packages('preference', repos = c('https://cranhaven.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/kaneplusplus/preference/issues
- imap - Data from the IMAP study
- imap_stratified_summary - Data from the IMAP study
- imap_summary - Data from the IMAP study
Last updated from:e1f46e9f4f (on package/preference). Checks:7 NOTE, 2 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | NOTE | 124 | ||
| source / vignettes | OK | 160 | ||
| linux-release | NOTE | 124 | ||
| macos-release | NOTE | 115 | ||
| macos-oldrel | NOTE | 105 | ||
| windows-devel | NOTE | 72 | ||
| windows-release | NOTE | 89 | ||
| windows-oldrel | NOTE | 78 | ||
| wasm-release | OK | 101 |
Exports:effect_sizeeffects_from_meansfit_preferencefit_preference_summaryoptimal_proportionoverall_power_binomoverall_sample_size_binoverall_sample_size_poispowerpreferencepreference.trialproportionpt_from_powerpt_from_sspwr_overall_poissample_sizesigma2significancetreatment_effect_size
Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr