rev_l {lenses}R Documentation

Reverse lens

Description

Lens into the reverse of an object.

Usage

rev_l

Format

An object of class lens of length 2.

Examples

x <- 1:10
view(x, rev_l)
set(x, rev_l, 11:20)

[Package lenses version 0.0.3 Index]