Description Usage Arguments See Also
Server-side code for recommend question (would you recommend this product...) plot.
1 2 | recommendPlot(input, output, session, fdat, pcol, title, response_colors,
include_string)
|
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. |
title |
string, the title of the plot. |
response_colors |
vector, colours for pie plot (colours pcol options); strings (eg. c("#FF00FF", "#00FFFF", "00FF00")). |
include_string |
string, only products containing string included in this plot (because question only asked of one category of product) |
Other intent plots: consumePlot
,
intentPlotUI
, purchasePlot
,
regularPlot
, replacePlot
,
similarPlot
, whenPlot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.