randomize_trt2 {TwoArmSurvSim}R Documentation

Generate Block Randomized Treatment Label Based on Covariates Matrix for Two Arm Trial

Description

Generate block randomized treatment label based on covariates matrix for two arm trial.

Usage


randomize_trt2(cov_mat=cov_mat,blocksize=blocksize,rand_ratio=c(1,1))


Arguments

cov_mat

Covariates matrix.

blocksize

Randomization block size

rand_ratio

Randomization ratio between control and treatment


[Package TwoArmSurvSim version 0.2 Index]