R/rankZ.R

Defines functions rankZ

Documented in rankZ

rankZ = function(x) {
  x = rank(x, na.last = "keep", ties.method = "average") / (sum(!is.na(x)) + 1)
  return(qnorm(x))
}
dmgatti/DOQTL documentation built on April 7, 2024, 10:35 p.m.