totimbal: Calculates the total imbalance measured by minimization...

Description Usage Arguments Value

Description

The function to calculates the total imbalance measured by minimization algorithms

Usage

1
2
totimbal(trt = trt, covmat = covmat, covwt = covwt, ratio = ratio,
  ntrt = ntrt, trtseq = trtseq, method = "Range")

Arguments

trt

treatment sequence for all the randomized subjects

covmat

matrix or data frame of covariate factors

covwt

vector of weights of the covaraite factors

ratio

vector of randomization ratios for each treatment

ntrt

numeric number of treatment groups

trtseq

vector of a sequence of treatment groups

method

the method or algorithm for the minimization randomization

Value

total imbalance


Minirand documentation built on Jan. 26, 2020, 9:10 a.m.

Related to totimbal in Minirand...