Description Usage Arguments See Also
For making "By Product" option in server-side "Reasons" tab. Call with callModule(). Makes use of helper function reasons_by_product_chart().
1 | reasonsByProduct(input, output, session, fdat, top_cols, color_vec)
|
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. |
top_cols |
vector, contains the numbers of fdat's columns containing the top x answers. |
color_vec |
vector of strings, colours for the plots (ie. the colour each product is plotted as) eg. c("#FF0000", ...) |
reasonsByProductUI
, reasons_by_product_chart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.