A lens into an objects dimensions

dim_l

Format

An object of class lens of length 2.

Examples

x <- 1:10 (y <- set(x, dim_l, c(2,5)))
#> [,1] [,2] [,3] [,4] [,5] #> [1,] 1 3 5 7 9 #> [2,] 2 4 6 8 10
view(y, dim_l)
#> [1] 2 5