R/i.rank.R

"i.rank" <-
function (x) 
{
    xx <- x
    for (i in 1:length(xx)) {
        xx[i] <- c(1:length(unique(x)))[x[i] == unique(x)]
    }
    xx
}

Try the maSigPro package in your browser

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

maSigPro documentation built on Nov. 8, 2020, 6:51 p.m.