as.egodata.network: Construct an Egocentric View of a Network
Description
Given a network object, construct an
egodata object representing a census of all the actors in the
network. Used mainly for testing.
Usage
# S3 method for network
as.egodata(object, special.cols = c("na",
"vertex.names"), ..., egoIDcol = "vertex.names")Arguments
special.cols
Vertex attributes that should not be copied to the
egos and alters tables. Defaults to attributes special to the
network objects.
…
Additional arguments, currently unused.
egoIDcol
The name of the vertex attribute containg unique ego IDs.
Defaults to "vertex.names".
Examples
Run this code# NOT RUN {
# See example(ergm.ego) and example(as.network.egodata).
# }
Run the code above in your browser using DataLab