View source: R/xts_to_tibble.R
xts_to_tibble | R Documentation |
Convert an xts object to a tibble data frame
xts_to_tibble(x)
x |
an xts object |
A tibble data frame with first column 'date'
If this function is used outside of the package's functions, i.e. using other data than FRED's, then make sure that the tibble does not contain non-numeric columns. An xts object is a matrix with an index attribute (date) and one cannot mix types in a matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.