min.gen: Allocate treatment based on an imbalance criterion - most...

Description Usage Arguments Value

View source: R/minimization.R

Description

Allocate treatment based on an imbalance criterion - most general form of minimization

Usage

1
2
## S3 method for class 'gen'
min(covar, imb, p = 2/3)

Arguments

covar

a dataframe for one covariate ONLY (not applicable for multiple covariates)

imb

is a measure of imbalance. It can be set to "efron", "ks" or "max.imb"

p

takes value between 0.5 and 1 and determines randomness in treatment assignment

Value

design matrix


mst1g15/biasedcoin documentation built on Nov. 26, 2019, 4:01 a.m.