The dygraphs package is an R interface to the dygraphs JavaScript charting library. It provides rich facilites for charting time-series data in R, including:
The dygraphs package depends on the development version of the htmlwidgets package so you need to install both packages. You can do this using the devtools package as follows:
devtools::install_github(c("ramnathv/htmlwidgets", "rstudio/dygraphs"))
If you have an xts-compatible time-series object creating an interactive plot of it is as simple as this:
dygraph(nhtemp, main = "New Haven Temperatures")
You can also further customize axes and series display as well as add interacitve features like a range selector:
dygraph(nhtemp, main = "New Haven Temperatures") %>% dyAxis("y", label = "Temp (F)", valueRange = c(40, 60)) %>% dyOptions(fillGraph = TRUE, drawGrid = FALSE) %>% dyRangeSelector()
See the online documentation for the dygraphs package for additional details and examples.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4