strat_reassignments: Stagewise two-group assignments

Description Usage Arguments Details Value Author(s)

Description

Returns all possible assignments to two groups stratified by stages.

Usage

1
strat_reassignments(ns, ks, restricted = TRUE, B = NULL)

Arguments

ns

vector of number of observations per stage

ks

vector of number of observations in group (e.g. treatment) per stage

restricted
B

number of assignments

Details

Number of observations ns and observations from one group ks will be recycled to match the longer argument.

Value

logical matrix of dimension sum(ns) \times prod(choose(ns,ks))

Author(s)

Florian Klinglmueller


floatofmath/adaperm documentation built on May 16, 2019, 1:18 p.m.