nvd: Network-Valued Data Constructor

View source: R/nvd-class.R

nvdR Documentation

Network-Valued Data Constructor

Description

This is the constructor for objects of class nvd.

Usage

nvd(sample_size, model, ...)

Arguments

sample_size

An integer specifying the sample size.

model

A string specifying the model to be used for sampling networks. All tidygraph::play_ functions are supported. The model name corresponds to the name of the function without the play_ prefix.

...

Model parameters to be passed to the model function.

Value

A nvd object which is a list of tidygraph::tbl_graph objects.

Examples

params <- list(n_dim = 1L, dim_size = 4L, order = 4L, p_rewire = 0.15)
nvd(sample_size = 1L, model = "smallworld", !!!params)

astamm/nevada documentation built on Dec. 17, 2024, 1:23 a.m.