Trace: Compute the Trace of a Matrix.

Description Usage Arguments Value

View source: R/vca.R

Description

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

Usage

1
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


VCA documentation built on May 29, 2017, 11:48 p.m.

Search within the VCA package
Search all R packages, documentation and source code