rand: Compute single n \choose m randomization

Description Usage Arguments Value Author(s)

Description

Returns vector of length n with exactly m 1s and n-m 0s

Usage

1
rand(n, m)

Arguments

n

total number of subjects

m

number assigned to treatment in experiment

Value

vector of length n with exactly m 1s and n-m 0s

Author(s)

Joseph Rigdon [email protected]


interferenceCI documentation built on May 30, 2017, 6:56 a.m.