An internal function to generate a new network
object using the output (lists of toggled heads and tail vertices) from an ergm MCMC or SAN process.
newnw.extract(oldnw, z, output = "network", response = NULL)
a network object (presumably input to the ergm process) from which the network- and vertex-level attributes will be copied
a list having either a component named newedgelist
or two components newtails
and newheads
containing the ids of the head and tails vertices of the edges. Optionall newweights
containing edgewights.
passed to network.update
, which claims not to use it
optional character string giving the name of the edge attribute where the edge values (weight/count) should be stored.
a network
object with properties copied from oldnw
and edges corresponding to the lists of tails and head vertex ids in z