Combine the %ergmlhs% settings of a list of networks
Combine the %ergmlhs% settings of a list of networks
This is a helper function to go through the network objects in the list and accumulate their %ergmlhs% settings, printing a message if the settings clash. Later networks' settings overwrite the earlier.
combine_ergmlhs(nwl, ignore.settings = c())
Arguments
nwl: a list of network objects whose settings are to be combined.
ignore.settings: a character vector of setting names to be ignored.
Returns
A list of settings, suitable for being assigned as the ergm network attribute.