Hi,
I was wondering if some-one can help with the following.
I've just started using R Shiny and I wanted to create a data frame and then a bar chart
I have been trying to code the following in the server.R but can't get it to work.
Create new Data Frame with 2 variables, "cat" and "val"
'A' 55
'B' 90
Plot is a barchart showing x=cat, y=val
Once I can do the following I will be able to apply the dynamic variables so the plot is interchangeable.
I understand now. In theory it is not difficult to have two inputs be combined to form a third variable. However, what amount of flexibility do you want? Do you want the number of inputs to vary? Do you want to control which inputs get combined?
Hi @mattwarkentin,
The plan is to have the same number of inputs and then use different combination of the inputs (which will not change) to provide outputs.
e.g.
Input1: A=25
Input2: b=30
Input3: c=22
Input4: d=32