tr | R Documentation |
Calculates and returns the trace of a square matrix.
tr(x)
x |
A |
A matrix
with circles imprinted within its dimensions.
James Balamuta
# I_2 matrix
tr(diag(2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.