signedColorStyleInterval: Helper function to create DT::styleInterval for a given data,...

Description Usage Arguments

View source: R/helpers.R

Description

Helper function to create DT::styleInterval for a given data, in which Positive numbers are mapped to shades of green, and Negative numbers are mapped to shades of red

Usage

1
signedColorStyleInterval(data, num.breaks = 20)

Arguments

data

a vector of possible values

num.breaks

number of color breaks


rajkar86/shinypipe documentation built on Aug. 22, 2021, 9:48 p.m.