Description Usage Arguments Details Value Author(s) Examples
Compute the Jaccard similarity index between dsg objects described in the same way (matrices of graphs).
1 | birewire.similarity.dsg( m1,m2)
|
m1 |
First dsg; |
m2 |
Second dsg. |
See birewire.similarity
for more details.
Returns the Jaccard similarity index between the objects.
Andrea Gobbi
Maintainer: Andrea Gobbi <gobbi.andrea@mail.com>
1 2 3 4 5 6 | library(BiRewire)
data(test_dsg)
dsg <- birewire.induced.bipartite(test_dsg,sparse=FALSE)
birewire.similarity.dsg(dsg,birewire.rewire.dsg(dsg))
dsg <- birewire.induced.bipartite(test_dsg,sparse=TRUE)
birewire.similarity.dsg(dsg,birewire.rewire.dsg(dsg))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.