shinyUI(pageWithSidebar(
headerPanel("Action button example"),
sidebarPanel(
actionButton("button1", "New samples")
),
mainPanel(
plotOutput("plot")
)
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.