Description Usage Arguments Value Author(s) Examples
View source: R/apply_categorical_interaction_mappings.R
Creates categorical interaction features by combining categorical features.
1 2 | apply.categorical.interaction.mappings(data,
categorical.interactions.mappings, verbose = TRUE)
|
data |
[required | data.frame] Dataset containing categorical features |
categorical.interactions.mappings |
[ required | list] Mapping list produced by function map.categorical.interactions. |
verbose |
[optional | logical | default=TRUE] Chatty or silent function output |
A data.frame object with interacted features
Xander Horn
1 2 | cim <- map.categorical.interactions(x = c("Class","Sex","Age"))
cints <- apply.categorical.interaction.mappings(data=as.data.frame(Titanic), categorical.interactions.mappings = cim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.