Description Usage Arguments Author(s) Examples
View source: R/preprocessing.r
Factors will be converted to one logical column per level (or one fewer if a base level is specified).
1 | pre_factor_to_logical(data, feature, base = 1L, drop = TRUE)
|
data |
Pre-processed data set, as produced by |
feature |
Character vector with names of features to convert. Defaults to all factors in the data set. |
base |
Sent to |
drop |
Sent to |
Christofer Bäcklin
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.