c_l {lenses}R Documentation

Convenient lens composition

Description

A lens version of purrr::pluck. Takes a series element indicators and creates a composite lens.

Usage

c_l(...)

Arguments

...

index vectors or lenses

Details

See examples for more

Examples

view(iris, c_l("Petal.Length", 10:20, 3))
sepal_l <- index("Sepal.Length")
view(iris, c_l(sepal_l, id_l, 3))

[Package lenses version 0.0.3 Index]