Skip to contents

Creates an environment without any space limitations. However, agents therein can connect with each other and form a network.

The seed is used to explicitly document random-number generation initiation in your script.

Usage

create_network_environment(seed, is_directed = FALSE)

Arguments

seed

a single number (integer) to initiate random-number generation

is_directed

if true, connections/links in the network have a direction (i.e., they are arrows); default is FALSE

Value

tidyabm object

Examples

create_network_environment(seed = 43)
#> # A tibble: 0 × 0
#> # ABM network environment
#> * undirected, 0 agents
#> * 0 environment characteristic(s), 
#> * 0 environment variable(s), 
#> * 0 environment rule(s), 
#> * not initiated

create_network_environment(seed = 124, is_directed = TRUE)
#> # A tibble: 0 × 0
#> # ABM network environment
#> * directed, 0 agents
#> * 0 environment characteristic(s), 
#> * 0 environment variable(s), 
#> * 0 environment rule(s), 
#> * not initiated