[.gEdge | R Documentation |
Overloads subset operator for gEdge. Allows subsetting of gEdge via index or sedge.id (as a key). Also, allows for data.table style queries on gEdge and corresponding metadata.
## S3 method for class 'gEdge'
obj[i = NULL, from = NULL, to = NULL, with = TRUE, ...]
obj |
This is the gEdge object to be subset |
i |
integer, logical, or expression in gEdge metadata used to subset gEdge |
A new gEdges that contains only the given id's
Joe DeRose
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.