graph-class {MPSEM}R Documentation

Graph class and methods

Description

Class and methods to handle graphs.

Usage

  ## S3 method for class 'graph'
print(x, ...)

Arguments

x

An object of graph-class

...

Additional parameters to be passed to the method. Currently ignored.

Details

Prints user-relevant information about the graph: number of edges and vertices, edge and vertex labels, addition edge properties and vertex properties.

Value

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), and

vertex

a list that optionally contain vertex properties, if any (or an empty list if none).

Author(s)

Guillaume Guénard, Département de sciences biologiques, Université de Montréal, Montréal, Québec, Canada.

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. In press.

See Also

PEM.build PEM-class


[Package MPSEM version 0.3-6 Index]