pos_neg_format: Format Magnitude of Values

Description Usage Arguments Value

View source: R/pos_neg_format.R

Description

An internal function for generating colors associated with how close a value is to the absolute maximum/minimum value in the vector

Usage

1
pos_neg_format(x, values = c("black", "grey35", "black"))

Arguments

x

A numeric vector

values

A character vector of colors to use for each interval

Value

A vector


tonofshell/cowpoke documentation built on June 12, 2020, 8:43 a.m.