nodf_cpp | R Documentation |
Calculates the raw NODF of a bipartite incidence matrix
nodf_cpp(mtx)
mtx |
A numeric matrix describing a bipartite network (a bipartite incidence matrix where elements are positive numbers if nodes interact, and 0 otherwise). |
For a given network, nodf_cpp
calculates the raw NODF value. Calculation is fast as the code is implemented in C++.
Returns the NODF of the network.
set.seed(123) nodf_cpp(matrix(sample(x = 0:1, size = 100, replace = TRUE),10,10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.