balance_example: Sample data to use with the 'balance_patients()' function.

Description Usage Format References See Also Examples

Description

A sample data set containing a single column which is used to show the usage of the balance_patients() function.

Usage

1

Format

There is only one numeric column: covar (continuous covariate).

References

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.

See Also

balance_patients()

Examples

1
2
3
4
5
6
7
8
data(balance_example, package = "stepp")
ranger2 <- c(950, 1050)
ranger1 <- c(300, 500)
maxnsubpops <- 50

## Not run: res_bal <- balance_patients(ranger1, ranger2, maxnsubpops, balance_example$covar,
  plot = TRUE, verbose = TRUE, contour = TRUE, nlevels = 6, border = TRUE)
## End(Not run)

stepp documentation built on Jan. 13, 2021, 5:25 p.m.

Related to balance_example in stepp...