rank.RdProvides an estimate of the rank of a matrix M.
Rank(M)Provides an estimate of the number of linearly independent rows or columns
of a matrix M. Compares an approach using QR-decomposition with one
counting singular values larger than a certain tolerance (Matlab).
Matrix rank as integer between 0 and min(ncol(M), nrow(M)).
Trefethen, L. N., and D. Bau III. (1997). Numerical Linear Algebra. SIAM, Philadelphia.
The corresponding function in Matlab is called rank, but that term
has a different meaning in R.