View source: R/tr.R
Computes the trace of a matrix.
Trace of A
Maria Antonietta Del Ferraro firstname.lastname@example.org Henk A.L. Kiers email@example.com Paolo Giordani firstname.lastname@example.org
X <- matrix(rnorm(6*6),ncol=6)
trace <- tr(X)
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at email@example.com.
Please suggest features or report bugs in the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.