Skip to content

how to calcualte Jaccard Coefficient

3 messages · Wen Gu, greggallen at gmail.com, Jari Oksanen

#
You could try 'vegdist()' in the 'vegan' package.

Greg.
On Mar 24, 11:30?pm, Wen Gu <edwardg22... at hotmail.com> wrote:
#
Greg <chaoborid <at> gmail.com> writes:
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