ass: ass

Description Usage Arguments Value

View source: R/RcppExports.R

Description

for some given integer n generates all possible 0-1 assignment vectors of 2n survey participants in such a way that exactly n of them are assigned to group 0 (control) and the other n ones are assigned to group 1 (treatment).

Usage

1
ass(n)

Arguments

n

an integer, a number of positive responses,

Value

a matrix with 2n columns and an appropriate number of rows


lidiaad/hw6 documentation built on May 21, 2019, 6:13 a.m.