Retrieve or set the dimension of an object. Implemented much the same as in R base. However, any redimensioning of a matrix must result in a matrix with the same number of elements.
signature(x = "gmatrix")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.