balance_example | R Documentation |
balance_patients()
function.
A sample data set containing a single column which is used to show the usage of the balance_patients()
function.
data(balance_example)
There is only one numeric column: covar (continuous covariate).
Lazar A, Cole B, Bonetti M, Gelber R (2010), "Evaluation of treatment-effect heterogeneity using biomarkers measured on a continuous scale: subpopulation treatment effect pattern plot." J Clin Oncol, 28(29), 4539-44.
balance_patients()
## Not run:
data(balance_example, package = "stepp")
ranger2 <- c(950, 1050)
ranger1 <- c(300, 500)
maxnsubpops <- 50
res_bal <- balance_patients(ranger1, ranger2, maxnsubpops, balance_example$covar,
plot = TRUE, verbose = TRUE, contour = TRUE, nlevels = 6)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.