powered by
network
Given a network object, construct an egor object representing a census of all the actors in the network. Used mainly for testing.
egor
# S3 method for network as.egor(x, special.cols = c("na"), ...)
An egor object.
A network object.
Vertex attributes that should not be copied to the egos and alters tables. Defaults to attributes special to the network objects.
egos
alters
Additional arguments, currently unused.
Pavel N. Krivitsky
template_network, which performs the inverse operation (though drops the ties).
template_network
# See example(ergm.ego) and example(template_network).
Run the code above in your browser using DataLab