Top "Xts" questions

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

Longer object length is not a multiple of shorter object length?

I don't understand why R gives me a warning about "Longer object length is not a multiple of shorter object …

r xts
Convert data frame with date column to timeseries

I've got a data frame with the following data: >PRICE DATE CLOSE 1 20070103 54.700 2 20070104 54.770 3 20070105 55.120 4 20070108 54.870 5 20070109 54.860 6 20070110 54.270 7 20070111 54.770 8 20070112 55.360 9 20070115 55.760 ... As you can see my DATE column …

r xts
correlation error: 'x' must be numeric

I have a XTS dataset that contains many stock closing prices called: dataset. I then wanted to find if their …

r numeric xts correlation stocks
Converting a data frame to xts

I'm trying to convert a data frame to xts object using the as.xts()-method. Here is my input dataframe …

r dataframe coerce xts time-series
Basic lag in R vector/dataframe

Will most likely expose that I am new to R, but in SPSS, running lags is very easy. Obviously this …

r time-series xts zoo
Forecasting time series data

I've done some research and I am stuck in finding the solution. I have a time series data, very basic …

r time-series xts
Return data subset time frames within another timeframes?

There are very nifty ways of subsetting xts objects. For example, one can get all the data for all years, …

r time-series subset xts
Reading csv with date and time

I am working in R and reading csv which has date and time in its first column. I want to …

r xts zoo
How can I change XTS to data.frame and keep Index?

I have an XTS timeseries in R of the following format and am trying to do some processing, subsetting and …

r time dataframe xts
Convert daily to weekly/monthly data with R

I have daily prices series over a wide range of products; I want to convert to a new dataframe with …

r xts zoo quantmod