View source: R/rand_evalRand.R
evalRand.sim | R Documentation |
Evaluates randomization procedure based on several different quantities of imbalances by simulating patients' covariate profiles under the assumption of independence between covariates and levels within each covariate.
evalRand.sim(n = 1000, N = 500, Replace = FALSE, cov_num = 2,
level_num = c(2, 2), pr = rep(0.5, 4), method = "HuHuCAR", ...)
N |
the iteration number. The default is 500. |
n |
the number of patients. The default is |
Replace |
a bool. If |
cov_num |
the number of covariates. The default is |
level_num |
a vector of level numbers for each covariate. Hence the length of |
pr |
a vector of probabilities. Under the assumption of independence between covariates, |
method |
the randomization procedure to be evaluated. This package provides assessment for |
... |
arguments to be passed to
|
See evalRand
.
See evalRand
.
See evalRand
to evaluate a randomization procedure with complete covariate data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.