Description Usage Arguments Value
View source: R/CatEncodePrerequisites.R
Takes in a vector and encodes using Integer Encoding and then passes the result to Binery Encoding
1 | encode_binary(x, colname, returnFit)
|
x |
A categorical field that needs to be Binary encoded |
colname |
A string with field name of categorical field |
returnFit |
A boolean indicating if the result should be a fit or the encoded values |
Returns encoded data when returnFit parameter is FALSE and fit file to fit the test data otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.