id_l: The identity (trivial lens)

Description Usage Format Examples

Description

This lens focuses on the whole object

Usage

1

Format

An object of class lens of length 2.

Examples

1
2
3
x <- 1:10
view(x, id_l)
head(set(x, id_l, iris))

lenses documentation built on May 2, 2019, 8:51 a.m.