getColorRamp: Create a color ramp from an OFPE variable.

View source: R/plotFuns.R

getColorRampR Documentation

Create a color ramp from an OFPE variable.

Description

Function for returning a color ramp appropriate for mapping a supplied variable. For example, yield is mapped from red to green corresponding to low to high.

Usage

getColorRamp(var)

Arguments

var

Variable for which to create a color ramp.

Value

Color ramp appropriate for variable.


paulhegedus/OFPE documentation built on Nov. 23, 2022, 5:09 a.m.