Learn R Programming

pca3d (version 0.10.2)

defaultPalettePCA3D: Default palette

Description

Default set of colors for the pca3d package. This is a colorblind-friendly palette, following the R cookbook.

Usage

defaultPalettePCA3D(n = NULL, transparent = NULL, d3 = FALSE)

Arguments

n

Number of colors to return

transparent

character string which will be pasted to each color

d3

if true, no transparency information will be added to the colors

Value

A character vector with the color palette

Details

The default palette contains 21 colors.