id_l {lenses} | R Documentation |
The identity (trivial lens)
Description
This lens focuses on the whole object
Usage
id_l
Format
An object of class lens
of length 2.
Examples
x <- 1:10
view(x, id_l)
head(set(x, id_l, iris))
[Package lenses version 0.0.3 Index]