powered by
euclidean(data, m = 1, n = ncol(data))
euclidean(cbind(c(1,2,3,4), c(2,3,2,2)))
Run the code above in your browser using DataLab