Description Usage Arguments Value Examples
Helper function to perform a split on a categorical predictor
1 | split(pred, out)
|
pred |
A vector of zeroes and ones |
out |
A vector of numeric or intreger values |
A matrix with two columns, the first being the values of the outcome corresponding to the 0 value of the predictor, the second to 1.
1 | split1 = split(pred1, out)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.