tna_color_palette: Generate TNA-style Color Palette for Nodes

View source: R/from-qgraph.R

tna_color_paletteR Documentation

Generate TNA-style Color Palette for Nodes

Description

Internal function that generates appropriate qualitative colors based on the number of states, following TNA's color palette logic.

Usage

tna_color_palette(n_states)

Arguments

n_states

Number of states (nodes) in the network.

Value

Character vector of colors.


cograph documentation built on April 1, 2026, 1:07 a.m.