Description Usage Arguments Value Author(s)
Generates a pair of graphs from a rho-correlated SBM
1 | randmatcorr(B, n, m, P, corr, setseed = FALSE)
|
B |
block model matrix of probabilities |
n |
vector of sizes of blocks in main matrix A |
m |
vector of sizes of corresponding matrix created from A |
P |
matrix of probabilities size of sum(n) |
corr |
correlation of edge in B v. A (should be positive) |
setseed |
True, then set seed. False, then doesn't |
A the primary adjacency matrix A
Bcor the corresponding matrix from A
Heather Gaddy Patsolic <hgaddy1@jhu.edu>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.