nvd | R Documentation |
This is the constructor for objects of class nvd
.
nvd(
model = "smallworld",
n = 1L,
num_vertices = 25L,
model_params = list(dim = 1L, nei = 4L, p = 0.15),
seed = 1234
)
model |
A string specifying the model to be used for sampling networks
(current choices are: |
n |
An integer specifying the sample size. Defaults to |
num_vertices |
An integer specifying the order of the graphs to be
generated (i.e. the number of nodes). Defaults to |
model_params |
A named list setting the parameters of the model you are
considering. Defaults to |
seed |
An integer specifying the random generator seed. Defaults to
|
A nvd
object which is a list of igraph
objects.
smallworld_params <- list(dim = 1L, nei = 4L, p = 0.15)
nvd(model_params = smallworld_params)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.