subnetwork_templates function

Obtain empty networks representing constituents of a combined network

Obtain empty networks representing constituents of a combined network

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

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.

Returns

A list of networks.

  • Maintainer: Pavel N. Krivitsky
  • License: GPL-3 + file LICENSE
  • Last published: 2024-11-05