library(shiny)
# Define UI para a aplicação
shinyUI(fluidPage(
# Título
titlePanel("Olá, Shiny!"),
# Uma coluna com um checkbox para colocar o smooth
sidebarLayout(
sidebarPanel(
checkboxInput(inputId='smooth', label='Smooth?', value=FALSE)
),
# Gráfico!
mainPanel(
plotOutput("distPlot")
)
)
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.