nvd {nevada} | R Documentation |
Network-Valued Data Constructor
Description
This is the constructor for objects of class nvd
.
Usage
nvd(
model = "smallworld",
n = 1L,
num_vertices = 25L,
model_params = list(dim = 1L, nei = 4L, p = 0.15),
seed = 1234
)
Arguments
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
|
Value
A nvd
object which is a list of igraph
objects.
Examples
smallworld_params <- list(dim = 1L, nei = 4L, p = 0.15)
nvd(model_params = smallworld_params)
[Package nevada version 0.2.0 Index]