mass_weighted_urn_design: Mass-weighted urn randomisation Zhao W. (2015). Mass weighted...

View source: R/helpers.R

mass_weighted_urn_designR Documentation

Mass-weighted urn randomisation Zhao W. (2015). Mass weighted urn design–A new randomization algorithm for unequal allocations. Contemporary clinical trials, 43, 209–216. https://doi.org/10.1016/j.cct.2015.06.008

Description

Mass-weighted urn randomisation Zhao W. (2015). Mass weighted urn design–A new randomization algorithm for unequal allocations. Contemporary clinical trials, 43, 209–216. https://doi.org/10.1016/j.cct.2015.06.008

Usage

mass_weighted_urn_design(target_alloc, sample_size, alpha = 4)

Arguments

target_alloc

The target allocation ratios

sample_size

The number of allocations to generate

alpha

Parameter to control imbalance between arms

Value

A list detailing the mass-weighted-urn process.


jatotterdell/mfittrial documentation built on Sept. 30, 2022, 12:23 p.m.