Learn R Programming

GreedyExperimentalDesign (version 1.5.6.1)

complete_randomization_with_forced_balanced: Implements forced balanced randomization

Description

For debugging, you can use set.seed to be assured of deterministic output.

Usage

complete_randomization_with_forced_balanced(n, r, form = "one_zero")

Value

a matrix where each column is one of the r designs

Arguments

n

number of observations

r

number of randomized designs you would like

form

Which form should it be in? The default is one_zero for 1/0's or pos_one_min_one for +1/-1's.

Author

Adam Kapelner