returnFactorEdgeList {dynamicGraph}R Documentation

The factor edge list

Description

Return a list of factor edges, each of class FactorEdgeProto.

Usage

returnFactorEdgeList(edge.list, vertices, factorvertices = NULL,
                     width = 2, color = "DarkSlateGrey",
                     type = NULL)

Arguments

edge.list A list of vectors identifying the edges (between vertices). Each vector of edge.list should be a vector of integers giving the indices of the vertices of an edge, or a vector of text strings with the names of the vertices.
vertices The list of vertices, each of a class containing VertexProto.
factorvertices The list of factorvertices, each of a class containing FactorVertexProto.
width A numeric with the initial width of the factor edges.
color A text string giving the initial color of the factor edges.
type A text string giving the type of the factor edges.

Value

A list of edges, each of class FactorEdgeProto.

Note

The methods of the edge list, returnEdgeList, also applies for factor edge lists.

No example is given here since the factor edge list usually will be returned by the function returnFactorVerticesAndEdges. The application is similar to returnBlockEdgeList, see example here.

Author(s)

Jens Henrik Badsberg

See Also

returnFactorVerticesAndEdges and returnBlockEdgeList.


[Package Contents]