R/obuchowski.R

# An implementation of Obuchowski 1998

.obuchowski.test <- function(ak, bk, ck, dk) .obuchowski.impl(bk, ck)

# Notation is Yang et al. (2010)'s simplification
.obuchowski.impl <- function (bk, ck) {
  K <- length(bk)
  
  ((K - 1) / K) * sum(bk - ck)^2 / sum((bk - ck)^2)
}

Try the clust.bin.pair package in your browser

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

clust.bin.pair documentation built on May 2, 2019, 3:58 p.m.