sliderInput("n", "Sample size", min=10, max=50, value=25)
## Arguments: id, code to execute on the server
observeEvent(input$n, {
  print(input$n)
  }
)
## The value of input$n is printed to the Rmarkdown tab. Using print statements is a great debugging tool when your app starts to get more complicated.


jr-packages/jrShiny documentation built on Feb. 16, 2020, 9:13 p.m.