Description Usage Arguments See Also
Server-side code for consume question plot.
1 2 | consumePlot(input, output, session, fdat, pcol, title, response_colors,
plot_type)
|
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. |
pcol |
numeric, number of column in fdat containing plot's primary column of interest; shown in pie plots, height of bar plots. |
title |
string, the title of the plot. |
response_colors |
vector, colours for plots (colours pcol options); strings (eg. c("#FF00FF", "#00FFFF", "00FF00")). |
plot_type |
string, indicator selecting between bar and pie plot ( |
spc
, conflicting_evaluations
, horizontal_bars_plot
Other intent plots: intentPlotUI
,
purchasePlot
, recommendPlot
,
regularPlot
, replacePlot
,
similarPlot
, whenPlot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.