TreeGraph: TreeGraph

Description Usage Arguments Value

Description

A function to produce the data structure needed to plot Event and Staged trees using RGraphviz.

Usage

1
TreeGraph(tree, solution = list(), name = c(), range.color = 1)

Arguments

tree

Event.tree S4 object

solution

list with two components:

  • numeric - score associated with a level

  • list of vectors - stage structure

name

vector of strings - variable names

range.color

(numeric) - it chooses the palette. If 1, it is used a 8-color palette. If 2, it is used a 501-color palette.

Value

list:


ceg documentation built on May 2, 2019, 1:46 p.m.