as.egor.network {ergm.ego} | R Documentation |
Construct an Egocentric View of a network
Object
Description
Given a network
object, construct an
egor
object representing a census of all the actors in the
network. Used mainly for testing.
Usage
## S3 method for class 'network'
as.egor(x, special.cols = c("na"), ...)
Arguments
x |
A |
special.cols |
Vertex attributes that should not be copied to the
|
... |
Additional arguments, currently unused. |
Value
An egor
object.
Author(s)
Pavel N. Krivitsky
See Also
template_network
, which performs the inverse
operation (though drops the ties).
Examples
# See example(ergm.ego) and example(template_network).
[Package ergm.ego version 1.1.0 Index]