interactions_report <- reactive({
if (input$interactionReport == TRUE) {
message('Interactions Plot added to the report')
return(interactionsTrimmed())
}else{
return(NULL)
}
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.