View source: R/rbin-create-bins.R
rbin_create | R Documentation |
Create dummy variables from bins.
rbin_create(data, predictor, bins)
data |
A |
predictor |
Variable for which dummy variables must be created. |
bins |
An object of class |
data
with dummy variables.
k <- rbin_manual(mbank, y, age, c(29, 39, 56))
rbin_create(mbank, age, k)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.