Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

tr

Trace


Description

Computes the trace of a matrix.

Usage

tr(a)

Arguments

a

Matrix

Value

t

Trace of A

Author(s)

Maria Antonietta Del Ferraro mariaantonietta.delferraro@yahoo.it
Henk A.L. Kiers h.a.l.kiers@rug.nl
Paolo Giordani paolo.giordani@uniroma1.it

Examples

X <- matrix(rnorm(6*6),ncol=6)
trace <- tr(X)

ThreeWay

Three-Way Component Analysis

v1.1.3
GPL (>= 2)
Authors
Maria Antonietta Del Ferraro, Henk A.L. Kiers, Paolo Giordani
Initial release
2015-09-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.