randomize_trt {TwoArmSurvSim}R Documentation

Generate Block Randomized Treatment Label Based on Covariates Matrix

Description

Generate block randomized treatment label based on covariates matrix

Usage


randomize_trt(cov_mat=cov_mat,blocksize=blocksize,trtHR=trtHR,rand_ratio=c(1,1))


Arguments

cov_mat

Covariates matrix.

blocksize

Randomization block size

trtHR

Hazard ratio between treatment arms.

rand_ratio

Randomization ratio between control and treatment


[Package TwoArmSurvSim version 0.2 Index]