simulate_dynnet: Simulate Dynamic and Static Networks

Description Usage Arguments Details Value Author(s)

View source: R/simulate.R

Description

Simulate dynammic and static networks.

Usage

1
2
simulate_dynnet(n, k = 1, periods = 1, vattr = NULL,
  ref_fn = default_ref_pos(k), seed = NULL, family = "bernoulli", ...)

Arguments

n

Positive integer. Number of nodes in the network.

k

Positive integer. Number of dimensions in the latent space.

periods

Positive integer. Number of periods in the dynnamic network. If k=1, a static network is generated.

vattr

List of vertex attributes. One data.frame per period.

ref_fn

Function to generate the reference positions. Function must return a list reference positions and indices.

seed

Set the seed before generating the networks to assure replicability. Default is NULL.

family

Character string in c("bernoulli", "poisson").

...

Further parameters to be passed to subsequent functions.

Details

Simulate dynammic and static networks.

Value

A dynsim object.

Author(s)

Jason W. Morgan jason.w.morgan@gmail.com


jason-morgan/dynnet documentation built on May 18, 2019, 4:53 p.m.