Description Usage Arguments Value Examples
Generates n example data samples for constructing and rcDT model.
1 | generateData(n = 1000)
|
n |
numeric. Number of example samples to be generated. |
Summary of a single interaction tree. Each 'node' begins with "0" indicating the root node, followed by a "1" or "2" indicating the less than (or left) child node or greater than (or right) child node. Additionally, the number of observations 'size', number treated 'n.1', number on control 'n.0', and treatment effect 'trt.effect' summaries are provided. The splitting information includes the column of the chosen splitting variable ‘var', the variable name ’vname', the direction the treatment is sent 'cut.1' ("r" for right child node, and "l" for left), the chosen split value 'cut.2', and the estimated value function 'score'.
1 | dat <- generateData()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.