R/aitdist.R

aitdist <- function (x, a, type = "euclidean", square = FALSE) {
  y <- Compositional::ait(x, a, h = FALSE)
  Rfast::Dist(y, method = type, square = square)
}

Try the Compositional package in your browser

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

Compositional documentation built on Oct. 23, 2023, 5:09 p.m.