server = function(input, output, session) {
output$shurf <- renderPlot({
input$shocksurfs
return(isolate(eval(parse(text=input$shocksurf))))
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.