I'm able to create multiple sliders and selections dynamically (data driven) in Shiny UI but don't know how to retrieve resulting user selected values. My objective is to use the selected values in other functions.
Does someone know the syntax to retrieve these values? Here's an example for the sliders:
library(shiny)
Your idea works when I explicitly type input$A, but you can see I need to build input$A dynamically since A is only known when a dataframe of new variables is brought in. So maybe my issue is how do I construct 'input$A' dynamically so the server recognizes this is referring to the slider input values?
When I construct a value through paste my table simply returns the paste string and not the slider value. For example, if c below is a vector of values testA, testB, testC, I get a return vector of values which just have the words in input$testA, input$testB, input$testC. My expectation is to get the numerical values from the sliders like 50, 210, 1008 (as examples).
Maybe I am rendering the paste function incorrectly for this use case?
My approach was more brute force since I've only been working with shiny\R for a year, and I was thinking I was only one issue away from the answer. I'll try your suggestion even though several of the functions & syntax are foreign to me, and I'll need to get this to work for select inputs too.