Top "Xts" questions

xts is an R package that contains an eXtensible Time Series class and methods.

Faster Way of Calculating Rolling Realized Volatility in R

I want to calculate the rolling 20 day realized volatility for a collection of indices. Here is the code I use …

r xts
Creating regular 15-minute time-series from irregular time-series

I have an irregular time-series (with DateTime and RainfallValue) in a csv file C:\SampleData.csv: DateTime,RainInches 1/6/2000 11:59,0 1/6/2000 23:59,0.01 1/7/2000 11:59,0 1/13/2000 23:59,0 1/14/2000 0:00,0 1/14/2000 23:59,0 4/14/2000 3:07,0.01 4/14/2000 3:12,0.03 4/14/2000 3:19,0.01 12/31/2001 22:44,0 12/31/2001 22:59,0.07 12/31/2001 23:14,0 12/31/2001 23:29,0 12/31/2001 23:44,0.01 12/31/2001 23:59,0.01 Note: The …

r time-series xts zoo
ADD a new column into an XTS object

Hi: I have an xts object as such: AAPL.Open AAPL.High AAPL.Low AAPL.Close AAPL.Volume AAPL.Adjusted 2013…

r xts quantmod
Extracting the numerical values of a xts object

I want to extract the numerical values of a xts object. Let's look at an example data <- new.…

r xts
Get time from xts index

I have an xts object, x. I want to run a for loop until a certain time, based on the …

r xts
What does useMethod mean here?

One of the kool things about R is if I type the function name I get to see the implementation. …

r xts
R: adding 1 month to a date

I want to get the date sequence between a startDate and endDate by adding 1 month to the startDate. ie, if …

r dataframe xts zoo r-rook-package
Unable to access/install xts package

I am unable to install xts package on R version 3.3.0 on my macbook. I am getting following error: install.packages("…

r macos xts installation-package
plotting multiple xts objects in one window

I have found some answers to this online but for some reason am interpreting incorrectly because I cannot get it …

r plot xts zoo
subsetting in xts using a parameter holding dates

I am familiar with the xts subsetting abilities. However, I can't find an elegant way to subset a parameterized range …

r subset xts