[R] Jaccard index

Ben Bolker bbolker at gmail.com
Fri Aug 14 18:56:53 CEST 2015


sreenath <sreenath.rajur <at> macfast.ac.in> writes:

> 
> sim(file_name,method="jaccard")
> this command is giving the raw wise similarity matrix
> how can i find column wise similarity matrix?
> what is the command?
> please help me
> 

  Based on a search 

library("sos"); findFn("jaccard sim")

I'm guessing that you're using the simba package (which you really
should have said in your message ...).  In general transposing the
matrix  

  sim(t(file_name),method="jaccard")

should work.

If you have ecology-related questions you might want to check out
the r-sig-ecology at r-project.org mailing list ...



More information about the R-help mailing list