Learn R Programming

htmlTable (version 2.4.3)

prMergeClr: Merges multiple colors

Description

Uses the colorRampPalette() for merging colors. Note: When merging more than 2 colors the order in the color presentation matters. Each color is merged with its neigbors before merging with next. If there is an uneven number of colors the middle color is mixed with both left and right side.

Usage

prMergeClr(clrs)

Value

character A hexadecimal color

Arguments

clrs

The colors