expandMat | R Documentation |
Expands a square matrix by repeating each row/column the specified number of times.
expandMat(mat, nn)
mat |
A square matrix to be exapanded |
nn |
A vector of number of times each row/column must be repeated. Its length must match the number of rows/columns |
Sum of squared deviations from the mean using only valid (non NA) values.
Aleš Žiberna
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.