ssq | R Documentation |
Calculate Sum of Squares
ssq(X)
X |
Numeric vector or matrix. |
This is the Frobenius norm of X
.
The sum of squared elements of X
ssq(tcrossprod(1:5))
ssq(rnorm(1e5))/1e5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.