Skip to contents

Generates homogeneous block design allocations rapidly

Usage

generate_block_design_cpp_wrap(B, nR, dummy_block)

Arguments

B

The number of blocks in the design

nR

The number of allocation vectors

dummy_block

The subvector of allocations in each block that will be permuted

Value

A matrix with rows being the nR random block allocation of sample size B x length(dummy_block).

Author

Adam Kapelner

Examples

if (FALSE) { # \dontrun{
generate_block_design_cpp_wrap(B = 2, nR = 3, dummy_block = c(1, 0))
} # }