Enlarge | R Documentation |
Extends the number of dimensions of var to numdims (the added dimensions have length 1).
Enlarge(var, numdims)
var |
Matrix to be extended. |
numdims |
Output number of dimensions. |
Output number of dimensions.
History:
0.1 - 2011-03 (V. Guemas) - Original code
1.0 - 2013-09 (N. Manubens) - Formatting to R CRAN
1.1 - 2015-03 (N. Manubens) - Improved
data <- array(1, c(2, 2, 3)) print(dim(Enlarge(data, 5)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.