Learn R Programming

ergm.multi (version 0.2.1)

subnetwork_templates: Obtain empty networks representing constituents of a combined network

Description

This utility uncombines a combine_networks() network using subnetwork cache (which contains only empty networks). It is used primarily by initialisation functions.

Usage

subnetwork_templates(
  nw,
  split.vattr = ".NetworkID",
  names.vattr = ".NetworkName",
  copy.ergmlhs = c("response")
)

Value

A list of networks.

Arguments

nw, split.vattr, names.vattr

see uncombine_network().

copy.ergmlhs

a character vector of %ergmlhs% settings that are to be copied into the constituent networks.