r_pal: The default R palette

View source: R/palette.R

r_palR Documentation

The default R palette

Description

This is the default R palette, to be able to reproduce the colors of older igraph versions. Its colors are appropriate for categories, but they are not very attractive.

Usage

r_pal(n)

Arguments

n

The number of colors to use, the maximum is eight.

Value

A character vector of color names.

See Also

Other palettes: categorical_pal(), diverging_pal(), sequential_pal()


igraph documentation built on Oct. 20, 2024, 1:06 a.m.