recommendPlot: Server-side code for recommend question plot.

Description Usage Arguments See Also

View source: R/intents_tab.R

Description

Server-side code for recommend question (would you recommend this product...) plot.

Usage

1
2
recommendPlot(input, output, session, fdat, pcol, title, response_colors,
  include_string)

Arguments

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)

See Also

spc

Other intent plots: consumePlot, intentPlotUI, purchasePlot, regularPlot, replacePlot, similarPlot, whenPlot


IskanderBlue/morseldash documentation built on Oct. 30, 2019, 7:24 p.m.