ssq {OmicsPLS} | R Documentation |
Calculate Sum of Squares
Description
Calculate Sum of Squares
Usage
ssq(X)
Arguments
X |
Numeric vector or matrix. |
Details
This is the Frobenius norm of X
.
Value
The sum of squared elements of X
Examples
ssq(tcrossprod(1:5))
ssq(rnorm(1e5))/1e5
[Package OmicsPLS version 2.0.2 Index]