R/matrix.rank.r

matrix.rank <- function (X)
{
    X.sv <- abs(La.svd(X)$d)
    return(sum((X.sv / max(X.sv)) > 1e-09))
}

Try the rainbow package in your browser

Any scripts or data that you put into this service are public.

rainbow documentation built on May 29, 2024, 5:52 a.m.