powered by
This function adds an attribute to the existing list.
add_attribute(rules, name, type, border1, border2, value)
The updated rules list.
The current rules list.
The name of the feature in the rule.
The type of the feature in the rule.
The first border value in the rule.
The second border value in the rule.
The value associated with the rule.
rules <- list() new_rules <- add_attribute(rules, "feature1", "numerical", 0.2, 0.8, "EMPTY")
Run the code above in your browser using DataLab