| OneHot | R Documentation | 
OneHotProduces a numeric matrix of binary predictor variables and a numeric vector
of an outcome variable from an input data.frame.
With the exception of outcome, all factor variables of data are
converted to one binary column per factor level.  Numeric variables are unchanged.
OneHot(data, outcome = NULL)
data | 
 A   | 
outcome | 
 Optionally, the name of a variable in   | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.