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.

Total

1,623

Last month

181

Last week

35

Average per day

6

Daily downloads

Total downloads

Description file content

Package
preference
Type
Package
Title
2-Stage Preference Trial Design and Analysis
Version
0.2.2
URL
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
RoxygenNote
6.0.1
LazyData
true
NeedsCompilation
no
Packaged
2018-05-08 19:54:26 UTC; mike
Author
Briana Cameron [aut, cph], Denise Esserman [ctb], Michael Kane [cre, ctb]
Maintainer
Michael Kane
Repository
CRAN
Date/Publication
2018-05-08 20:05:32 UTC

install.packages('preference')

0.2.2

18 days ago

https://github.com/kaneplusplus/preference

Michael Kane

LGPL-2

Imports

ggplot2, tidyr

Suggests

testthat

Discussions