Description Usage Arguments Value Examples
View source: R/make_adj_matrix.R
Undirected adjacency matrix of selected networks.
1 | make_adj_matrix(N, model, seed = NULL)
|
N |
number of units. |
model |
string specifying the type of network. Options are
|
seed |
random number for result replicability. |
An N
* N
numeric matrix, where N
corresponds to number of units.
1 2 3 | make_adj_matrix(N = 9, model = 'sq_lattice')
## Not run: make_adj_matrix(N = 10, model = 'sq_lattice')
make_adj_matrix(N = 10, model = 'small_world', seed = 357)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.