Class and methods to handle graphs.
# S3 method for graph
print(x, ...)
An object of graph-class
Additional parameters to be passed to the method. Currently ignored.
A graph-class
object contains:
a list whose first two unnamed members are the indices of the origin and destination vertices. Additional members must be named and are additional edge properties (e.g. length), and
a list that optionally contain vertex properties, if any (or an empty list if none).
Prints user-relevant information about the graph: number of edges and vertices, edge and vertex labels, addition edge properties and vertex properties.
Gu<U+00E9>nard, G., Legendre, P., and Peres-Neto, P. 2013. Phylogenetic eigenvector maps (PEM): a framework to model and predict species traits. Meth. Ecol. Evol. In press.