networks
head
find the head of a directed edge
Calling Sequence
Parameters
Description
Examples
head(G)
head(e, G)
head(eset, G)
G
-
graph or network
e
edge of G
eset
set or list of edges of G
Important:The networks package has been deprecated. Use the superseding package GraphTheoryinstead.
If a single argument G is passed then a table is returned.
If a single edge e is passed the either the head of e or NULL is returned depending on whether or not e is directed.
If a set of edges eset is passed then a set or list of head vertices is returned.
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[head](...).
Important:The networks package has been deprecated. Use the superseding pakcage GraphTheoryinstead.
See Also
GraphTheory
networks(deprecated)[edges]
networks(deprecated)[ends]
networks(deprecated)[incident]
networks(deprecated)[tail]
with
Download Help Document