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

balance_exampleR Documentation

Sample data to use with the balance_patients() function.

Description

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

Usage

data(balance_example)

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

## 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)

stepp documentation built on June 22, 2024, 9:24 a.m.

Related to balance_example in stepp...