combine_list_rules | R Documentation |
Combine Rules Found in Lists of Rules.
combine_list_rules(x, val, ...)
x |
( |
val |
( |
... |
passed to |
a list
of rule
objects.
l1 <- list(
r1 = rule(
"first" = c("overwritten", "OVERWRITTEN"),
"almost first" = c(NA, "almost")
),
r2 = rule(
ANYTHING = "anything"
)
)
l2 <- list(
r1 = rule(
"first" = c("F", "f"),
"second" = c("S", "s"),
"third" = c("T", "t"),
.to_NA = "something"
),
r3 = rule(
SOMETHING = "something"
)
)
combine_list_rules(l1, l2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.