| newnw.extract {ergm} | R Documentation |
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)
oldnw |
a network object (presumably input to the ergm process) from which the network- and vertex-level attributes will be copied |
z |
a list having either a component named |
output |
passed to |
response |
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
This is an internal ergm function, it most cases with edgelists to be converted to networks it will probably be simpler to use network.edgelist
network.edgelist, network.update