randbalance {Minirand}R Documentation

Displays the number of randomized subjects at each level for all covariate factors.

Description

The fuction to cound the number of randomized subjects at each level for all covariate factors

Usage

randbalance(trt, covmat, ntrt, trtseq)

Arguments

trt

treatment sequence for all the randomized subjects

covmat

matrix or data frame of covariate factors

ntrt

numeric number of treatment groups

trtseq

vector of a sequence of treatment groups

Value

the number of randomized subjects at each level for all covariate factors


[Package Minirand version 0.1.3 Index]