NodeColor {ceg}R Documentation

NodeColor

Description

This function yields the node colors.

Usage

NodeColor(num.variable, num.situation, num.category, stage.structure,
  range.color)

Arguments

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:

  • numeric - score associated with a level

  • list of vectors - stage structure

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

vector - node colors


[Package ceg version 0.1.0 Index]