expand | R Documentation |
Scale up 'expand' a matrix "x" by a scale factor of "n". Then return the expanded matrix. i.e.) if x is a 3x3 matrix and n = 3 return a 9x9 matrix where each entry in x is now equivalent to 9 values within the new 9x9 matrix.
expand(x, n = 3)
x |
A matrix or matrix array type object to be expanded |
n |
The scale factor, which the side lengths of the matrix will be increased by a factor of. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.