Trace {VCA}R Documentation

Compute the Trace of a Matrix

Description

Function computes the sum of main-diagonal elements of a square matrix.

Usage

Trace(x, quiet = FALSE)

Arguments

x

(matrix, Matrix) object

quiet

(logical) TRUE = will suppress any warning, which will be issued otherwise

Value

(numeric) value, the trace of the matrix


[Package VCA version 1.5.1 Index]