powered by
This function returns the distance matrix using L2 distance.
getdis(y)
A distance matrix based on the L2 distance.
dataset of the pooled data
data(example0) data = as.matrix(example0$data) # pooled dataset getdis(data)
Run the code above in your browser using DataLab