MergeLabels {ceg}R Documentation

MergeLabels

Description

Merge labels of multiple edges in order to plot them all.

Usage

MergeLabels(edge.list, edge, level)

Arguments

edge.list

vector list of positions that a children of a specific position v1.

edge

numeric a particular children "edge" of a specific position v1

level

vector labels of classes corrresponding to the variable associated with a position.

Value

list merged labels associated with a specific position v1.

Note

This function mitigates a limitation from Rgraphviz, since it is not possible to plot multiple edges between two nodes presenting the correct edge label for each one. The authors did not find a graphical package providing this capability. Contributions are wellcomed.


[Package ceg version 0.1.0 Index]