inst/App/server.R

#==============#
# Shiny Server #
#==============#
server <- function(input, output) {

  output$histPlot <- renderPlot({
    xx=rnorm(1000)
    hist2(x=xx, breaks = input$bins)
  })

}
gfsarmanho/ShinyAppPackage documentation built on May 25, 2019, 8:17 a.m.