egodata ObjectsReturns subsets of egodata objects that meet conditions.
# S3 method for egodata
[(x, i, j, ..., dup.action = c("make.unique", "fail",
"number"))# S3 method for egodata
subset(x, subset, select, ...,
dup.action = c("make.unique", "fail", "number"))
An egodata object.
Additional arguments, currently unused.
What to do when an ego is referenced multiple times:
Construct new unique ego IDs using
the make.unique function
Exit with an error.
Number the egos consecutively in the order they were selected
An expression (evaluated in the context of the egos
table of x producing a logical, integer, or character vector
indicating which egos to select (and, for the latter two, how many times).
A numeric or character vector specifying the columns of
egos and alters to select.
An egodata object.