t_l {lenses}R Documentation

Matrix transpose lens

Description

Lens into the transpose of a matrix

Usage

t_l

Format

An object of class lens of length 2.

Examples

(x <- matrix(1:4, ncol = 2))
view(x, t_l)
set(x, t_l, matrix(11:14, ncol = 2))

[Package lenses version 0.0.3 Index]