Trace | R Documentation |
Function computes the sum of main-diagonal elements of a square matrix.
Trace(x, quiet = FALSE)
x |
(matrix, Matrix) object |
quiet |
(logical) TRUE = will suppress any warning, which will be issued otherwise |
(numeric) value, the trace of the matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.