get_network_attributes {EpiModel}R 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)


[Package EpiModel version 2.4.0 Index]