Description Usage Arguments See Also
Server-side function for boxes showing difference between actual CSA value and good value. Makes use of rating_diff_value(), rating_diff_box().
1 | csatDiff(input, output, session, ddat, pcol, color_cutoff, reversed)
|
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. |
color_cutoff |
numeric, cutoff between different colours for the gauge. |
reversed |
logical, denotes whether gauge colours should be reversed (ie. warning colour for high values, happy colour for low values). |
csatDiffUI
, rating_diff_value
, rating_diff_box
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.