CreateColorIntervalSequence: Creates a color interval sequence for color ramps

Description Usage Arguments Details Value

View source: R/gis.R

Description

Creates an interval sequence used for assigning color ramp values to objects.

Usage

1
2
CreateColorIntervalSequence(color_range, color_alpha, color_increment,
  log)

Arguments

color_range

two-valued vector, the minimum and maximum values.

color_levels

one value, number of color levels. Ignored if color_interval not equal to NA.

color_increment

one value, increment value of color breakpoints, one value.

log

logical of whether to log transform.

Details

Parameter defaults are object names because this function is used internally in CreateColorPaletteLegend() & ExportKMLPolygon() to ensure the interval sequence selection is identical. The code uses pretty(), so the returned color levels and legend levels may not be identical to the input parameter value.

Value

vector of colors


Blakemassey/gisr documentation built on Aug. 30, 2020, 12:14 a.m.