defaultPalettePCA3D: Default palette

Description Usage Arguments Details Value

View source: R/helpers.R

Description

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

Usage

1
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

Details

The default palette contains 21 colors.

Value

A character vector with the color palette


pca3d documentation built on Oct. 23, 2020, 8:26 p.m.