powered by
Calcualte the rank of a input matrix
mrank(X)
X is the input data matrix.
The rank of the input matrix.
Calculate the rank of a input matrix by using singular value decompositon.
mrank_sq
# NOT RUN { X = matrix(rnorm(25,0,1),nrow=5,ncol=5); rlt = mrank(X); # }
Run the code above in your browser using DataLab