combine_rules | R Documentation |
Combine Two Rules
combine_rules(x, y, ...)
x |
( |
y |
( |
... |
not used. |
a rule
.
The order of the mappings in the resulting rule corresponds to the order of the mappings in x
followed by the
mappings that are only present in y
.
r1 <- rule(
"first" = c("from ori rule", "FROM ORI RULE"),
"last" = c(NA, "last"),
.to_NA = "X",
.drop = TRUE
)
r2 <- rule(
"first" = c("F", "f"),
"second" = c("S", "s"),
"third" = c("T", "t"),
.to_NA = "something"
)
combine_rules(r1, r2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.