This function calculates the trace of a given numeric square matrix. This function should not be called directly in this package. It is called by other functions like dscore and sscore.
Usage
tr(X)
Arguments
X
A square matrix
Value
A numeric value which is the sum of the values on the diagnonal.