Learn R Programming

preference: An R package for Clinical Trials using Preference Design

Author: Briana Cameron and Michael J. Kane Contributors: Denise Esserman License: LGPL-2

Install the package

if (!require(devtools)) install.packages("devtools", repos="https://cloud.r-project.org")
library(devtools)
install_github("kaneplusplus/preference")

Copy Link

Version

Install

install.packages('preference')

Monthly Downloads

216

Version

1.1.6

License

LGPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Michael Kane

Last Published

September 9th, 2020

Functions in preference (1.1.6)

overall_power

Power Calculation from Sample Size
fit_preference

Fit the Preference Data Collected from a Two-stage Clinical Trial
effects_from_means

Calculate Effect Sizes from Means
optimal_proportion

Unstratified Optimized Theta
overall_sample_size_bin

Overall Sample Size Binomial
overall_sample_size_pois

Overall Sample Size Poisson Distribution
fit_preference_summary

Fit Preference Model from Summary Data
imap_stratified_summary

Data from the IMAP study
overall_power_binom

Power Calculation from Sample Size
plot.preference.trial

Plot the effect sizes of a preference trial
overall_sample_size

Overall Sample Size
preference-package

Design and Analysis of Two-stage Randomized Clinical Trials
sample_size

Preference trial parameter accessors
pt_from_power

Design Preference Trials with Power Constraint(s)
treatment_effect_size

Treatment Effect Back Calculation
preference.trial

Create a Preference Trial
preference

Fit Preference Data Collected from a Two-stage Clinical Trial
pt_from_ss

Design Preference Trials with Sample Size Constraint(s)
pwr_overall_pois

Power Calculation from Sample Size