ashokkrish / CougarStats

5 stars 2 forks source link

Constructing a Pie or Bar Chart #3

Open ashokkrish opened 6 months ago

ashokkrish commented 6 months ago
image

when the parameter of interest is

image

just above the Calculate button place a dropdown with multi select = T

image

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

image

or

image

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.