Learn R Programming

MPSEM (version 0.4-1)

graph-class: Class and Method for Directed Graphs

Description

Class and methods to handle graphs.

Usage

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

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).

Arguments

x

An object of graph-class.

...

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

Functions

  • print.graph: Print method for graph-class objects

Author

tools:::Rd_package_author("MPSEM") Maintainer: tools:::Rd_package_maintainer("MPSEM")

Details

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

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

See Also

PEM.build, PEM-class