generate_block_design_cpp_wrap: Generates homogeneous block design allocations rapidly

View source: R/shared.R

generate_block_design_cpp_wrapR Documentation

Generates homogeneous block design allocations rapidly

Description

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(s)

Adam Kapelner

Examples

## Not run: 
generate_block_design_cpp_wrap(B = 2, nR = 3, dummy_block = c(1, 0))

## End(Not run)

GreedyExperimentalDesign documentation built on Jan. 9, 2026, 5:07 p.m.