totimbal {Minirand}R Documentation

Calculates the total imbalance measured by minimization algorithms.

Description

The function to calculates the total imbalance measured by minimization algorithms

Usage

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


[Package Minirand version 0.1.3 Index]