tr: Trace of Matrix

Description Usage Arguments Value

View source: R/tr.R

Description

Calculates the trace of a square matrix.

Usage

1
tr(x)

Arguments

x

a matrix

Value

The trace of a square matrix x.


BenBarnard/covEst documentation built on March 21, 2018, 2:25 p.m.