Learn R Programming

lenses (version 0.0.3)

dim_l: Dims lens

Description

A lens into an objects dimensions

Usage

dim_l

Arguments

Format

An object of class lens of length 2.

Examples

Run this code
# NOT RUN {
x <- 1:10

(y <- set(x, dim_l, c(2,5)))
view(y, dim_l)
# }

Run the code above in your browser using DataLab