[R] how to calcualte Jaccard Coefficient

2009-03-24 Thread Wen Gu
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...@gc.cuny.edu

Re: [R] how to calcualte Jaccard Coefficient

2009-03-25 Thread Greg
You could try 'vegdist()' in the 'vegan' package. Greg. On Mar 24, 11:30 pm, Wen Gu 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 StreetN

Re: [R] how to calcualte Jaccard Coefficient

2009-03-25 Thread Jari Oksanen
Greg 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 tha