random_reassignments: Random reassignments to two groups

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) given that k objects are in one group

Usage

1

Arguments

n

number of observations

k

number of observations in (e.g. treatment) group

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.