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