knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of {tidyxts} is to allow user to use some tools from {dplyr} on xts (https://github.com/joshuaulrich/xts)
You can install tidyxts from github with:
# install.packages("devtools") devtools::install_github("ThinkR-open/tidyxts")
library(xts) library(tidyxts) data(sample_matrix) sample.xts <- as.xts(sample_matrix, descr='my new xts object') sample.xts %>% select(Open,Close) %>% head() sample.xts %>% select(1,3) %>% head() sample.xts %>% slice(c(1,3)) %>% head()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.