designdist
from library get.dist(data, method, minkowski.power = 2)
"matching",
"rogers", "jaccard.pa", "sorenson", "kulkczynski.pa", "ochiai",
"gower", "steinhaus", "kulkczynski.q", "jaccard.q", "euclidean",
"rel.euclidean", "manhattan", "czekanows
minkowski.power = 2
which makes the measure equivalent to Euclidean distance.class(dist)
.dist
library(vegan)
data(varespec)
get.dist(varespec,method="steinhaus")
Run the code above in your browser using DataLab