knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
An RStudio addin to provide easy and interactive time series visualization. To be visible to the addin, time series must be stored in a dataframe in the global environment, with:
You can install the released version of tsviz from CRAN with:
install.packages("tsviz")
Or install the development version from Github:
devtools::install_github("donlelef/tsviz")
Once you have installed the package, you do not need to load it with library()
, the addins are installed on your machine as part of the package install process.
First, let us load some suitable data:
library(tsviz) prices <- crypto_prices
Then, we can run the addin:
That's it.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.