calc_N: Calculate N based on predetermined block sizes

Description Usage Arguments Value Examples

Description

Calculate N based on predetermined block sizes

Usage

1
calc_N(blocks, levels, approx)

Arguments

blocks

A vector of block sizes you want to use.

levels

Number of treatment levels in the study.

approx

The Approx. total number of randomization slots you'll want.

Value

A vector of 4 options of N based off the given inputs.

Examples

1
calc_N(blocks=c(3,24), levels=3,approx=225)

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