Description Usage Arguments Examples
View source: R/rect2sqMatrix.R
Convert a rectangular matrix object to a square on by addign rows/columns
1 | rect2sqMatrix(x, pad = NULL, trim = NULL, pad.values = NaN, ...)
|
x |
input matrix |
pad.values |
values to be applied to the new rows/columns. devault = NaN |
1 2 | x = matrix(0, 6, 3)
make.square(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.