randmatcorr: Generates a pair of graphs from a rho-correlated SBM

Description Usage Arguments Value Author(s)

View source: R/randmat.r

Description

Generates a pair of graphs from a rho-correlated SBM

Usage

1
randmatcorr(B, n, m, P, corr, setseed = FALSE)

Arguments

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

Value

A the primary adjacency matrix A

Bcor the corresponding matrix from A

Author(s)

Heather Gaddy Patsolic <hgaddy1@jhu.edu>


youngser/VN documentation built on July 18, 2020, 12:48 p.m.