Created
September 4, 2018 10:13
-
-
Save filipstachura/f5fa85bd7d6ebccf323fad2985724c7e to your computer and use it in GitHub Desktop.
shiny.semantic & dygraphs demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
library(shiny.semantic) | |
library(dygraphs) | |
runApp(shinyApp( | |
semanticPage(title = "Dygraphs demo", | |
uiheader("Hi from semantic!", "Plays nice together", icon = "heart"), | |
uisegment( | |
dygraphOutput("graph") | |
)), | |
shinyServer(function(input, output) { | |
output$graph <- renderDygraph( | |
dygraph(nhtemp, main = "New Haven Temperatures") | |
) | |
}) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment