Description Usage Arguments Value Examples
View source: R/create_affinity.R
create_affinity
returns an affinity matrix
1 | create_affinity(i, j, dat)
|
i |
The index of which sbm result in the dat |
j |
The number of individuals in each sbm result |
dat |
The data which get from cleanSBM function |
An affinity matrix
1 | A <- create_affinity(1,339,sbmresults)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.