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



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

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

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

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