Description Objects from the Class Slots Extends Methods Warning Author(s) See Also

Class for undirected edges

Objects can be created by calls of the form `new("undirectedEdge", ...)`

which admit short-hands of the form `u(...)`

.

`.Data`

:Object of class

`"vector"`

storing strictly positive numbers that refer to a given`"vertexSet"`

object

Class `"edge"`

, directly.
Class `"integer"`

, from data part.
Class `"vector"`

, by class `"integer"`

.
Class `"numeric"`

, by class `"integer"`

.

- initialize
`signature(.Object = "undirectedEdge")`

: constructs an undirected edge from a vector of strictly positive integers- show
`signature(object = "undirectedEdge")`

: displays an undirected edge as numbers joined by lines- showRel
`signature(object = "undirectedEdge",code="vertexSet")`

: displays an undirected edge as names joined by lines- areTheSame
`signature(x = "undirectedEdge", y = "undirectedEdge")`

: x and y are the same undirected edge if they are the same set of numbers- [
`signature(x = "undirectedEdge")`

: extracts an undirected edge- coerce
`signature(from = "vector", to = "undirectedEdge")`

: constructs an undirected edge from vector input- coerce
`signature(from = "directedEdge", to = "undirectedEdge")`

: makes a directed edge undirected- maxId
`signature(x="undirectedEdge")`

: gets the maximum numeric identifier of an undirected edge- recode
`signature(object = "undirectedEdge",src="vertexSet",dst="vertexSet")`

: recodes an undirected edge by making its numbers refer to another`"vertexSet"`

object

The constructor will try to handle any vector input by silently transforming it into a list of strictly positive integers.

Jens Henrik Badsberg, Claus Dethlefsen, Luca La Rocca

`edge-class`

,
`directedEdge-class`

,
`edgeList-class`

and
`u`

.

giRaph documentation built on May 30, 2017, 3:40 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.