Time-Series Data manipulation

Can anybody suggest resources for time-series data manipulation. I'm not looking for time-series statistical analysis (e.g. ARIMA,Forcasting, etc). Instead, I want to extract a portion of data based on a time segment.


Thanks Dirk & Mohsen! @Dirk: I'll definitely try zoo. I heard that it's good for TS, but for some reason just slip out of my mind. @Mohsen: I didn't use decomposition method. But I tried stl, & it gives me lot of errors. I wish I can get more details on it.Also, I looked for the link that you provided me. But that is working on TS using other software. I don't have problem with statistical analysis with TS. But I'm having problem in TS data manipulation in R.

Also, majority of the time I deal with daily,weekly & monthly data. But the examples that I come across is yearly data. So, whn I try to replicate the examples in my dats set I get set I get lots of errors. i can't able to format the daily,weekly & monthly stats. E.g. I want the following code in weekly format. But when I put the date in "start" segment, it gives me error. That's why I'm looking for some resources which gives examples only on time-series data manipulation All kind of manipulation. Once I can extract required data in time-series fromat I can run statistical analysis.

data<-ts(data[,1],start=1956,freq=12)

This question and answers originated from www.stackoverflow.com
Question by (2/5/2011 4:34:05 PM)

Answer

Please look at the documentation of the zoo package which comprises a number of subsetting and aggregation operations.


Find More Answers
Related Topics  r  time-series
Related Questions
  • Generate entries in time series data

    I want to generate a row (with zero ammount) for each missing month (until the current) in the following dataframe. Can you please give me a hand in this? Thanks! trans_date ammount 1 2004-1…
  • recoding time series data in r

    I am trying to recoding a existing data with a overtime structure. My dataset looks like this: dput(z) structure(list(democracy = c(0L, 0L, 0L, 0L, 0L, 0L, 1L, 1L, 1L, 0L, 0L, 0L, 0L, 0L, 0L, 0…
  • Time series modelling with irregular data

    I'm currently working on a pet project to forecast future base oil prices from historical base oil prices. The data is weekly but there are some periods in between where prices are missing. I'm s…
  • smoothing of auto-correlated time series data with ggplot2

    Is there a way to incorporate smoothing function for an auto-correlated time series in ggplot2? I have time series data that is auto-correlated for which I currently use a manual process to deter…
  • How to extract longitudinal time-series data from a dataframe in R for time-series analysis and imputation

    Thanks to joran for helping me to group data in my previous question where I wanted to make a data frame in R smaller so that I can do time-series analysis on the data. Now I would like to actual…
  • Time series in R

    I am tracking my body weight in a spread sheet but I want to improve the experience by using R. I was trying to find some information about time series analysis in R but I was not succesful. The …
  • Relative Time Series

    I am looking for a standardized method for arranging data in relative time. Applications include accounting data such as FY1,FY2,etc... and economic data such as the term structure of interest rates…
  • time series in R

    here is my question: i have these data summary(data) Date 1990/01: 1 1990/02: 1 1990/03: 1 1990/04: 1 1990/05: 1 1990/06: 1 (…
  • Time Series Analysis

    Which R package is most helpful for irregular chrono time series? I see Lubridate and xts used in Regular analysis over irregular time series I understand that this is an open ended question and …
  • R: Reversing the data in a time series object

    I figured out a way to backcast (ie. predicting the past) with a time series. Now I'm just struggling with the programming in R. I would like to reverse the time series data so that I can forecas…