powered by
Extends the number of dimensions of var to numdims (the added dimensions have length 1).
Enlarge(var, numdims)
Matrix to be extended.
Output number of dimensions.
# NOT RUN { data <- array(1, c(2, 2, 3)) print(dim(Enlarge(data, 5))) # }
Run the code above in your browser using DataLab