Description Usage Arguments Value Examples
View source: R/binary_coding.R
binary_coding.apply - add new binary values columns to data
1 | binary_coding.apply(data, transformation_parameters, replace = F)
|
transformation_parameters |
- paramets obtained from binary_coding.prepare |
replace |
- replace exisiting columns with new ones (default False) |
data with added binary columns
1 2 | t = binary_coding.prepare(iris, c(5))
binary_coding.apply(iris, t) -> add 2 new colums binary representing 3 classes
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.