wrappers {giRaph}R Documentation

Short-hands for vertex set and edge construction

Description

Provide short-hands for vertex set and edge construction.

Usage

v(...)
u(...)
d(...)
r(...)

Arguments

... unique vertex identifiers (should be characters for v and strictly positive integers for u,d and r)

Details

Function d builds a directed edge from tail to head, function r builds a directed edge from head to tail.

Value

Function v returns an object of class "vertexSet". Function u returns an object of class "undirectedEdge". Both functions d and r return an object of class "directedEdge".

Author(s)

Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca

See Also

vertexSet-class, undirectedEdge-class and directedEdge-class.


[Package giRaph version 0.1-1 Index]