title: select a variable from drop-down and pass it as an argument in reactivePlot in R Shiny
body: <p>I have a general question about R Shiny application: I have a list of IDs that end-users can choose from in a drop-down menu (<code>selectInput</code>), and I hope to make a corresponding plot based on this ID. In other words, the selected variable will be passed as an argument in the plot function, and each time I choose a different ID, the plot is also changed. Can I know if this is doable in Shiny? I appreciate if anyone can provide a working example on similar problems. Thank you!</p>