csatWidget: Server-side function for CSAT element with title, gauge, and...

Description Usage Arguments See Also

View source: R/csat_tab.R

Description

Server-side function for CSAT element with title, gauge, and difference.

Usage

1
2
csatWidget(input, output, session, ddat, pcol, title, color_cutoff,
  minRange, maxRange, reversed, symbol = "%")

Arguments

input

Required for shiny modules' server functions.

output

Required for shiny modules' server functions.

session

Required for shiny modules' server functions.

ddat

dataframe, data filtered by desired variables (probably demographic or demographic and product).

pcol

numeric, number of the column in fdat containing data for gauge.

title

string, gauge's title.

color_cutoff

numeric, cutoff between different colours for the gauge.

minRange

numeric, gauge's minimum value.

maxRange

numeric, gauge's maximum value.

reversed

logical, denotes whether gauge colours should be reversed (ie. warning colour for high values, happy colour for low values).

symbol

string, a symbol to pass through to userFractionGauge(); \'\' / empty by default.

See Also

csatWidgetUI


IskanderBlue/morseldash documentation built on Oct. 30, 2019, 7:24 p.m.