| nvattr.copy.network {ergm} | R Documentation |
An internal ergm utility function to copy the network-level attributes and vertex-level attributes from one network object to another, ignoring some standard properties by default.
nvattr.copy.network(to, from, ignore = c("bipartite", "directed",
"hyper", "loops", "mnext",
"multiple", "n"))
to |
the |
from |
the |
ignore |
vector of charcter names of network attributes that should not be copied. Default is the standard list of network properties created by |
returns the to network, with attributes copied from from
does not check that networks are of the same size, etc
set.vertex.attribute, set.network.attribute