Learn R Programming

lenses (version 0.0.3)

rev_l: Reverse lens

Description

Lens into the reverse of an object.

Usage

rev_l

Arguments

Format

An object of class lens of length 2.

Examples

Run this code
# NOT RUN {
x <- 1:10
view(x, rev_l)
set(x, rev_l, 11:20)
# }

Run the code above in your browser using DataLab