Update Strata for ARM
stratum_ARM(
covariate,
assignment,
cont_var = c("C1"),
cat_var = c("N1", "N2"),
levels_list = list(C1 = 0:1),
q = 0.75
)An object of class "ARM" is a list containing the following components:
Allocation of patients.
The number of patients in treatment 1 and treatment 2 respectively.
Mahalanobis distance between treatment groups 1 and 2.
a data frame. A row of the dataframe corresponds to the covariate profile of a patient.
a vector. If partial patients had been allocated , please input their allocation. IF all the patients are not be allocated, please input 'assignment = NA' directly.
name of continuous covariates
name of categorical covariates
levels of each categorical covariate
the biased coin probability. \(q\) should be larger than 1/2 and less than 1, default = 0.75