mrank_sq: Matrix rank of symetrix matrix

Description Usage Arguments Details Value See Also Examples

View source: R/mrank_sq.R

Description

Calcualte the matrix rank of a symetric matrix.

Usage

1

Arguments

X

X is the input data matrix and it should be a symetrix matrix.

Details

Calculate the rank of the input data matrix by using eigen decomposition.

Value

The rank of the symetrix matrix.

See Also

mrank

Examples

1
2
3
    X = matrix(rnorm(25,0,1),nrow=5,ncol=5);
    X_in = t(X) 
    rlt = mrank_sq(X_in);

QRFCCA documentation built on Nov. 17, 2017, 7:20 a.m.