calc_blocks: Calculate block size options based on predetermined N

Description Usage Arguments Value Examples

Description

Calculate block size options based on predetermined N

Usage

1
calc_blocks(num_blocks, levels, N)

Arguments

num_blocks

Number of blocks used, only works for 1:3.

levels

Number of treatment levels in the study. Used to determine odd/even block sizes.

N

The total number of randomization slots you'll need.

Value

A nx4 data.frame with all options for block sizes for your given parameters.

Examples

1
calc_blocks(num_blocks=3, levels=3, N=216)

mjholt02/medibalance documentation built on May 23, 2019, 1:04 a.m.