combine_list_rules {dunlin} | R Documentation |
Combine Rules Found in Lists of Rules.
Description
Combine Rules Found in Lists of Rules.
Usage
combine_list_rules(x, val, ...)
Arguments
x |
( |
val |
( |
... |
passed to |
Value
a list
of rule
objects.
Examples
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)
[Package dunlin version 0.1.10 Index]