blockrand: Block randomization

View source: R/blockrand.R

blockrandR Documentation

Block randomization

Description

Block randomization

Usage

blockrand(seed, rand.block, n)

Arguments

seed

integer for the random seed generator state.

rand.block

values within each block. The length of this vector determine the block size.

n

number of observations.

Details

Nothing

Value

Vector or binary otcome.

Author(s)

Paul Blanche

Examples

blockrand(123,c(1,1,0,0),10)

paulowhite/DelayedGSD documentation built on Nov. 1, 2023, 5:36 p.m.