powered by
eD(x, y)
columns the n coordinates in the n-space
str(x) == matrix [1:k, 1:n]
eD(1:3, 2:4) ## The function is currently defined as function(x,y){ return(sqrt(sum((x-y)^2))) }
Run the code above in your browser using DataLab