tr | R Documentation |
This function computes the trace of a matrix.
tr(M)
M |
square matrix |
The trace of the matrix M.
Nicole Kraemer
M<-matrix(rnorm(8*8),ncol=8) tr.M<-tr(M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.