Description Usage Arguments See Also
Wrapper for userFractionGaugeSlider server-side code for intent KPI gauge & slider.
1 2 | intentGauge(input, output, session, fdat, intent_col,
pos_options = "Yes", symbol = "%", title = "Intend to Purchase")
|
input |
Required for shiny modules' server functions. |
output |
Required for shiny modules' server functions. |
session |
Required for shiny modules' server functions. |
fdat |
dataframe, filtered by demographic variables and product. |
intent_col |
numeric, the number of fdat's column containing the intent question. |
pos_options |
vector, all the strings in fdat[[intent_col]] that are considered 'good' responses. |
symbol |
string, indicates unit of numeric output (eg. "%"). |
title |
string, title for gauge. |
intentGaugeUI
, userFractionGaugeSlider
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.