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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.