just above the Calculate button place a dropdown with multi select = T
that’ll construct a pie chart and/or a bar chart for the number of successes (x) and number of failures (n - x).
The charts would look something like this
or
On the mainPanel add another tabPanel called 'Graphs' with the selected plot(s) rendered. I recommend using ggplot for these plots. For reference you can see how we have a dropdown for plots under Descriptive Statistics Please do not hesitate to reach out to me if you have any further questions.
when the parameter of interest is
just above the Calculate button place a dropdown with multi select = T
that’ll construct a pie chart and/or a bar chart for the number of successes (x) and number of failures (n - x).
The charts would look something like this
or
On the mainPanel add another tabPanel called 'Graphs' with the selected plot(s) rendered. I recommend using ggplot for these plots. For reference you can see how we have a dropdown for plots under Descriptive Statistics Please do not hesitate to reach out to me if you have any further questions.