An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090324/372aab55/attachment-0002.pl>
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:
Does anyone have a good method for calculating Jaccard coefficients now that the dissimilarity() function is no longer an option? Wen Gu John Jay College of Criminal Justice445 West 59 StreetNew York, NY 10029 w... at gc.cuny.edu
_________________________________________________________________ Express your personality in color! Preview and select themes for Hotmail?. GTX_WL_HM_express_032009#colortheme ? ? ? ? [[alternative HTML version deleted]] ______________________________________________ R-h... at r-project.org mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
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