[R] how to calcualte Jaccard Coefficient
jari.oksanen at oulu.fi
Wed Mar 25 10:07:01 CET 2009
Greg <chaoborid <at> gmail.com> writes:
> You could try 'vegdist()' in the 'vegan' package.
Yep, you could. However, if you want to have Jaccard for binary data although
your data are not binary, you must set binary = TRUE in vegan::vegdist.
Indeed, the greatest problem with recommending Jaccard is that there is a huge
number of packages that have this index, and you probably forget some of those
in any recommendation. I think at least the following packages have Jaccard
index: ade4, analogue, ecodist, labdsv and probably many more.
Cheers, Jari Oksanen
More information about the R-help