# server.R
shinyServer(
function(input, output) {
output$text1 <- renderText({
paste("You have selected", input$var)
})
output$text2 <- renderText({
paste("You have chosen a range that goes from",
input$range[1], "to", input$range[2])
})
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.