offdiag.vec: Off-diagonal element stacking

View source: R/offdiag.vec.R

offdiag.vecR Documentation

Off-diagonal element stacking

Description

Stacks the rows of a square matrix (excluding diagonal elements) in a vector.

Usage

offdiag.vec(datamat)

Arguments

datamat

Any square matrix.

Details

This is a utility function used by alpha.schafer, but can also be called directly if required.

Author(s)

Theo Pepler

References

Pepler, P.T. (2014). The identification and application of common principal components. PhD dissertation in the Department of Statistics and Actuarial Science, Stellenbosch University.

See Also

alpha.schafer


tpepler/cpc documentation built on July 7, 2022, 2:13 a.m.