bart.flex | R Documentation |
A little internal piece of code that allows you to easily drop random intercepts in. It's a convenience tool I don't suggest using - it's a shortcut for if you feel very comfortable with the pipeline.
bart.flex(
x.data,
y.data,
ri.data = NULL,
y.name = NULL,
ri.name = NULL,
n.trees = 200
)
x.data |
A data frame of covariates |
y.data |
A vector of outcomes (1/0) |
ri.data |
Random intercept data (a column in a data frame) |
y.name |
Rename outcome variable from training data if you need to |
ri.name |
Identify the name of the random intercept column |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.