Description Usage Arguments Value Examples
A function to double the size of a matrix, with each cell in the original becoming four cells in the expanded matrix.
1 |
m |
A |
A matrix with the same distribution of values as the original, but doubled in size along both dimensions.
1 2 | m <- matrix(1:6, nrow = 2)
expand_matrix(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.