0
$\begingroup$

I have a presence/absence table of 0s and 1s and I would like to cluster this data. I want to create a pairwise matrix using R's dist function which has a binary option. I have seen sources explain this is the Jaccard measure and some have called it the Sample Matching distance. Which is it? Also, the function is named dist so I assume it calculates a distance not similarity? Which is better for hierarchical clustering, distance or similarity?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.