Variant of colorRamp for sequential use of colours for discrete scales. Thank you linog. Called by other functions in grafify and not generally meant to be called by user.

colorRamp_d(
  colors,
  n,
  bias = 1,
  space = c("rgb", "Lab"),
  interpolate = c("linear", "spline"),
  alpha = FALSE
)

Arguments

colors

internal

n

internal

bias

internal

space

internal

interpolate

internal

alpha

internal

Value

It generates the required number of sequential colours from chosen grafify palettes when called by colorRampPalette_d.