data(iris)
hv2 = hypervolume(subset(iris, Species=="virginica")[,1:4],reps=1000,bandwidth=0.2,warn=FALSE)
hv3 = hypervolume(subset(iris, Species=="versicolor")[,1:4],reps=1000,bandwidth=0.2,warn=FALSE)
hv_set23 = hypervolume_set(hv2, hv3, check_memory=FALSE)
# no overlap found between setosa and virginica
hypervolume_sorensen_overlap(hv_set23)
Run the code above in your browser using DataLab