R/RankSum.R

RankSum <- function (y, tr, tl, ...) {
  ## Rank-sum
  sum(rank(y, na.last=FALSE)[tr==tl])
}

Try the NPC package in your browser

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

NPC documentation built on May 2, 2019, 5:07 a.m.