Description Usage Arguments See Also
View source: R/awareness_tab.R
Server-side function for understanding plot. Makes use of spc(), fo(), conflicting_evaluations(), horizontal_bars_plot().
1 2 3 | understandingPlot(input, output, session, fdat, understanding_col,
awareness_col, color_vec, legend_string = "Previous Awareness",
arrange_by_total = TRUE)
|
input |
Required for shiny modules' server functions. |
output |
Required for shiny modules' server functions. |
session |
Required for shiny modules' server functions. |
fdat |
dataframe, dat but filtered by demographic variables and product. |
understanding_col |
reactive numeric, the number of fdat's column containing the understanding question. |
awareness_col |
numeric, the number of fdat's column containing the awareness question. |
color_vec |
vector, colours for the awareness factors; strings (eg. c("#FF00FF", "#00FFFF", "00FF00")). |
legend_string |
string, title of plot legend labelling awareness_col factors. |
arrange_by_total |
logical, whether to reorder factors by count. |
understandingPlotUI
, spc
, fo
, conflicting_evaluations
, horizontal_bars_plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.