rescale.palette: rescale.palette

Description Usage Arguments Value Examples

Description

This rescales the palette based on where the plot range falls within the data range.

Usage

1
2
rescale.palette(plot.range, data.range, color.len = 1000,
  start.pal = colorRampPalette(c("white", "black"))(n = color.len), ...)

Arguments

plot.range

the range of values for plotting (i.e., range of strain means)

data.range

the range of values for the color ramp scale (i.e., range of strain means across all plots)

start.pal

the starting palette

...

additional arguments

Value

Returns rescaled palette, with same length of colors as original scale

Examples

1
# Not Run

mauriziopaul/PLMcctools documentation built on May 20, 2019, 5:43 p.m.