Learn R Programming

MPSEM (version 0.4-4)

graph-class: Class and Method for Directed Graphs

Description

Class and methods to handle MPSEM 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 contains 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 Graph

    A 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: a framework to model and predict species traits. Methods in Ecology and Evolution 4: 1120-1131

See Also

graph-functions.