bru_mapper
lists can be combined into bm_list
lists.
Examples
m <- c(A = bru_mapper_const(), B = bru_mapper_scale())
str(m)
#> List of 2
#> $ A: list()
#> ..- attr(*, "class")= chr [1:3] "bru_mapper_const" "bru_mapper" "list"
#> $ B: list()
#> ..- attr(*, "class")= chr [1:3] "bru_mapper_scale" "bru_mapper" "list"
#> - attr(*, "class")= chr [1:2] "bm_list" "list"
str(m[2])
#> List of 1
#> $ B: list()
#> ..- attr(*, "class")= chr [1:3] "bru_mapper_scale" "bru_mapper" "list"
#> - attr(*, "class")= chr [1:2] "bm_list" "list"