NodeColor function

NodeColor

NodeColor

This function yields the node colors.

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.

Returns

vector - node colors

  • Maintainer: Pier Taranti
  • License: GPL-2 | file LICENSE
  • Last published: 2017-11-27