mrank: Matrix rank

Description Usage Arguments Details Value See Also Examples

View source: R/mrank.R

Description

Calcualte the rank of a input matrix

Usage

1
mrank(X)

Arguments

X

X is the input data matrix.

Details

Calculate the rank of a input matrix by using singular value decompositon.

Value

The rank of the input matrix.

See Also

mrank_sq

Examples

1
2
   X = matrix(rnorm(25,0,1),nrow=5,ncol=5);
   rlt = mrank(X);

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