random_assignments: Random combinations of two group assignments

Description Usage Arguments Value Author(s)

Description

Returns a logical matrix with B random assignments (e.g. of patients) of n objects to two groups (e.g. treatment and control)

Usage

1

Arguments

n

number of observations

B

number of random combinations

Value

integer matrix of size n x B

Author(s)

Florian Klinglmueller


floatofmath/resamplingMCP documentation built on May 16, 2019, 1:21 p.m.