MatVar2 {CJIVE} | R Documentation |
Calculates the Frobenius norm of a matrix, which can be used as a measure of total variation
MatVar2(X)
X |
a matrix of any size |
The Frobenius norm of the matrix X, calculated as the square root of the trace of t(X)
X = matrix(rnorm(10), 5,2)
MatVar2(X)