graph-class {MPSEM} | R Documentation |
Class and Method for Directed Graphs
Description
Class and methods to handle graphs.
Usage
## S3 method for class 'graph'
print(x, ...)
Arguments
x |
An object of |
... |
Additional parameters to be passed to the method. Currently ignored. |
Format
A graph-class
object contains:
- edge
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).
- vertex
A list that optionally contain vertex properties, if any (or an empty list if none).
Details
Prints user-relevant information about the graph: number of edges and vertices, edge and vertex labels, addition edge properties and vertex properties.
Functions
-
print.graph
: Print method for graph-class objects
Author(s)
Guillaume Guenard, with contribution from Pierre Legendre Maintainer: Guillaume Guenard <guillaume.guenard@gmail.com>
References
GuĂ©nard, G., Legendre, P., and Peres-Neto, P. 2013. Phylogenetic eigenvector maps (PEM): a framework to model and predict species traits. Meth. Ecol. Evol. 4: 1120–1131