search for: renderdygraph

Displaying 1 result from an estimated 1 matches for "renderdygraph".

2017 Oct 18
1
dygraphs, multiple graphs and shiny
...lot of the generated distribution > mainPanel( > dygraphs::dygraphOutput("distPlot") > ) > ) > ) > > # Define server logic required to draw a histogram > server <- function(input, output) { > > output$distPlot <- dygraphs::renderDygraph({ > lungDeaths <- cbind(mdeaths, fdeaths) > res <- lapply(1:2, function(i) dygraph(lungDeaths[, i])) > dygraph(lungDeaths[, 1]) > }) > } > > # Run the application > shinyApp(ui = ui, server = server) > Now make the single change to try and ren...