get_network_attributes: Get Network Attributes from a Network Object

View source: R/network.R

get_network_attributesR Documentation

Get Network Attributes from a Network Object

Description

Gets all network attributes except "mnext" from its network argument.

Usage

get_network_attributes(x)

Arguments

x

An object of class network or networkLite.

Details

This function is used in EpiModel workflows to copy relevant network attributes from the network object to the netsim_dat object when initializing netsim runs.

Value

Returns the named list of network attributes.

Examples

nw <- network_initialize(100)
get_network_attributes(nw)


EpiModel documentation built on July 9, 2023, 5:21 p.m.