Learn R Programming

mdatools (version 0.14.2)

mdaplot.prepareColors: Prepare colors based on palette and opacity value

Description

Prepare colors based on palette and opacity value

Usage

mdaplot.prepareColors(palette, ncolors, opacity)

Value

vector with colors

Arguments

palette

vector with main colors for current pallette

ncolors

number of colors to generate

opacity

opacity for the colors (one value or individual for each color)