Simple ceg structure to be ploted in RGraphviz. This function yields a data structure corresponding a simplified CEG to be plotted using the package Rgraphviz.
CegGraphSimple(stratified.event.tree, position, range.color = 1)
stratified.event.tree S4 object
list an object ceg.position.
numeric it chooses the palette. If 1, it is used a 8-color palette. If 2, it is used a 501-color palette.
list
$node - node attributes
$node$nodes (vector) - set of positions.
node$variable (vector) - it identifies the variable asscoiated with each position.
node$color (vector) - color of each position. All positions coincident with a stage are depicted in white.
$edge - edge attributes
$edge$edges (list) - set of list that emanates from each position.
edge$label (vector) - position labels.
weight (vector) - edge weight.