xts_tbl

0th

Percentile

xts_tbl

This function converts data from a xts object to a tbl_df(). Note that the dataframe must be of type xts and ordered by a date column. This date column will be preserved and save as "date".

Usage
xts_tbl(xts)
Arguments
xts

A xts series that will be converted to a tbl_df().

Value

A tbl_df() with the first column the "date" column used to order the xts series by.

Aliases
  • xts_tbl
Examples
# NOT RUN {
library(dplyr)
data(TRI)
TRI %>% tbl_xts(., cols_to_xts = "TRI", spread_by = "Country") %>% xts_tbl()
# }
Documentation reproduced from package tbl2xts, version 0.1.2, License: GPL-3

Community examples

Looks like there are no examples yet.