Compute Distance between two vectors

distvec(x, y)

Arguments

x

A numeric vector

y

A numeric vector

Value

a numeric distance

Examples

x <-matrix(rnbinom(1000,mu=0.01, size=10),nrow=1000) x <- x[1,] y <-matrix(rnbinom(1000,mu=0.01, size=10),nrow=1000) y <- y[1,] distvec(x, y)
#> [1] 0