A lens version of purrr::pluck. Takes a series element indicators and creates a composite lens.
c_l(...)
... | index vectors or lenses |
---|
length one vectors are converted to index_l,
length one logical vectors and numeric vectors that are negative are converted to indexes_l,
larger vectors are converted to indexes_l,
lenses are composed as is.
See examples for more
#> [1] 1.6#> [1] 4.7