Learn R Programming

lenses (version 0.0.3)

t_l: Matrix transpose lens

Description

Lens into the transpose of a matrix

Usage

t_l

Arguments

Format

An object of class lens of length 2.

Examples

Run this code
# NOT RUN {
(x <- matrix(1:4, ncol = 2))
view(x, t_l)
set(x, t_l, matrix(11:14, ncol = 2))
# }

Run the code above in your browser using DataLab