tests/setup.R

compare_for_tests <- function(i,j,v,omega=1){
  omega * (v[i] <= v[j]) + (1-omega) * (v[i] < v[j])
}
danielwilhelm/R-CS-ranks documentation built on Sept. 11, 2024, 4:18 p.m.