Set the dimension of an object
dim_na(x) <- value
An R object, e.g. a list environment, a matrix, an array, or a data frame.
A numeric vector coerced to integers.
If one of the elements is missing, then its value is inferred from the
other elements (which must be non-missing) and the length of x
.
An object with the dimensions set, similar to what
dim(x) <- value
returns.