NodeColor
This function yields the node colors.
NodeColor(num.variable, num.situation, num.category, stage.structure, range.color)
num.variable
: (numeric) - number of variables.
num.situation
: (vector) - number of stages associated with each variable.
num.category
: (vector) - it identifies the number of edges that emanate from situations in each level.
stage.structure
: list with two components:
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.
vector - node colors