attributes_l {lenses}R Documentation

Attributes lens

Description

The lens equivalent of attributes and attributes<-

Usage

attributes_l

Format

An object of class lens of length 2.

Examples

(x <- structure(1:10, important = "attribute"))
view(x, attributes_l)
set(x, attributes_l, list(important = "feature"))

[Package lenses version 0.0.3 Index]