Description Usage Arguments See Also
Server-side function for boxes showing difference between actual score value and benchmark. Uses csatDiffUI() as UI.
1 | scoreDiff(input, output, session, score, color_cutoff, label)
|
input |
Required for shiny modules' server functions. |
output |
Required for shiny modules' server functions. |
session |
Required for shiny modules' server functions. |
score |
numeric, score to be compared to benchmark |
color_cutoff |
numeric, cutoff between different colours for the gauge. |
label |
string, title for valueBox |
reversed |
logical, denotes whether gauge colours should be reversed (ie. warning colour for high values, happy colour for low values). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.