subnetwork_templates: Obtain empty networks representing constituents of a combined...

View source: R/combine.networks.R

subnetwork_templatesR Documentation

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 = nw %n% ".blockID.vattr",
  names.vattr = nw %n% ".blockName.vattr",
  copy.ergmlhs = c("response")
)

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.

Value

A list of networks.


statnet/ergm.multi documentation built on April 17, 2025, 5:18 p.m.