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 jrigdon@bios.unc.edu


interferenceCI documentation built on May 20, 2017, 4:39 a.m.

Search within the interferenceCI package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.