function(input, output) {
output$scatterPlot <- renderPlot({
x <- rnorm(input$n)
y <- rnorm(input$n)
plot(x, y)
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.