Description Usage Arguments Value Examples
Generates data for demonstration of rcDT and rcRF model construction.
1 | generateData(n = 1000)
|
n |
numeric. Number of example samples to be generated. Defaults to 1000. |
data.frame with 10 covariates (x1-x10), efficacy (y), risk (r), treatment indicator (trt), and propensity score (prtx).
1 | dat <- generateData()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.