MatVar {CJIVE} | R Documentation |
Matrix variation (i.e. Frobenius norm)
Description
Calculates the Frobenius norm of a matrix, which can be used as a measure of total variation
Usage
MatVar(X)
Arguments
X |
a matrix of any size |
Value
The Frobenius norm of the matrix X, calculated as the square root of the sum of squared entries in X
Examples
X = matrix(rnorm(10), 5,2)
MatVar(X)
[Package CJIVE version 0.1.0 Index]