Learn R Programming

QRFCCA (version 1.0)

mrank: Matrix rank

Description

Calcualte the rank of a input matrix

Usage

mrank(X)

Arguments

X

X is the input data matrix.

Value

The rank of the input matrix.

Details

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

See Also

mrank_sq

Examples

Run this code
# NOT RUN {
   X = matrix(rnorm(25,0,1),nrow=5,ncol=5);
   rlt = mrank(X);
# }

Run the code above in your browser using DataLab