Description Usage Arguments Details Value Slots Extends Methods Note Author(s)
Create factor vertex and factor edge lists.
Objects can be created by calls of the form
new("dg.FactorVertexList", ...)
.
1 2 3 4 5 6  returnFactorVerticesAndEdges(Vertices, factors = NULL, types = "Generator",
factorVertexColor = "default",
factorEdgeColor = "DarkOliveGreen",
fixedFactorPositions = FALSE,
factorClasses = validFactorClasses())

Vertices 
The list of 
factors 
The list of vectors identifying the 
types 
The 
factorVertexColor 
The 
factorEdgeColor 
The 
fixedFactorPositions 
Logical.
If 
factorClasses 
The valid 
The argument factors
is a list of vectors identifying
the factors
, or generators
.
Each item in the list is a vector with of the indices (or names)
of the vertices of a factor, or variables of a generator.
A factor vertex is made for each factor, and factor edges
from this factor vertex to the vertices of the factor
or added to the factor edge list.
Also the edges between pairs of the vertices in the factors
are returned.
A list with components
FactorVertices 
The list of factor vertices, each of class containing

FactorEdges 
The list of factor edge, each of class containing

PairEdges 
A matrix with the edges of the graph, two columns with the indices of the vertices of two ends of the edges. 
.Data
:Object of class "list"
.
Class "dg.NodeList"
, directly.
Class "dg.list"
, directly.
Class "list"
, from data part.
Class "vector"
, by class "dg.NodeList"
.
Class "vector"
, by class "dg.list"
.
Class "vector"
, by class "list"
.
No methods defined with class "dg.FactorVertexList" in the signature.
The methods of the vertex list, returnVertexList
,
also applies for factor lists,
and the methods of the edge list, returnEdgeList
,
also applies for factor edge lists.
Your modifyModel
should compute the new factors,
generators, when modifying the model. See dg.Modelclass
for examples on use of returnFactorVerticesAndEdges
.
Jens Henrik Badsberg
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.