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 = ".NetworkID",
  names.vattr = ".NetworkName",
  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.


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