combine_ergmlhs: Combine the '%ergmlhs%' settings of a list of networks

View source: R/ergmlhs.R

combine_ergmlhsR Documentation

Combine the %ergmlhs% settings of a list of networks

Description

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.

Usage

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.

Value

A list of settings, suitable for being assigned as the ergm network attribute.


ergm.multi documentation built on May 29, 2024, 11:07 a.m.