Re: [R] Irregular time series frequencies

2013-11-01 Thread sartene
Achim Zeileis" > A : sart...@voila.fr > Copie à : r-help@r-project.org > Objet : Re: [R] Irregular time series frequencies > > On Wed, 30 Oct 2013, sart...@voila.fr wrote: > > > Hi everyone, > > > > I have a data frame with email addresses in the first

Re: [R] Irregular time series frequencies

2013-10-31 Thread Achim Zeileis
On Wed, 30 Oct 2013, sart...@voila.fr wrote: Hi everyone, I have a data frame with email addresses in the first column and in the second column a list of times (of different lengths) at which an email was sent from the user in the first column. Here is an example of my data: Email Email_sen

[R] Irregular time series frequencies

2013-10-30 Thread sartene
Hi everyone, I have a data frame with email addresses in the first column and in the second column a list of times (of different lengths) at which an email was sent from the user in the first column. Here is an example of my data: Email Email_sent j...@doe.com "2013-09-26 15:59:55" "2013-09-2

Re: [R] Irregular Time Series

2010-11-01 Thread Gabor Grothendieck
On Mon, Nov 1, 2010 at 6:59 AM, mysterio66 wrote: > > Hi > > I have a daily level time series data. What I need to do is a time series > analysis and forecasting and stuff. > > But the thing I am stuck at is - I cant get a decent time series plot of the > data I have > http://r.789695.n4.nabble.co

[R] Irregular Time Series

2010-11-01 Thread mysterio66
Hi I have a daily level time series data. What I need to do is a time series analysis and forecasting and stuff. But the thing I am stuck at is - I cant get a decent time series plot of the data I have http://r.789695.n4.nabble.com/file/n3021952/test.jpg This is a plot of daily level data f

[R] Irregular Time Series

2010-11-01 Thread mysterio66
Hi I have a daily level time series data. What I need to do is a time series analysis and forecasting and stuff. But the thing I am stuck at is - I cant get a decent time series plot of the data I have http://r.789695.n4.nabble.com/file/n3021984/test.jpg This is a plot of daily level data f

Re: [R] Irregular time series plot

2010-10-01 Thread David Potts
Sorry about this, I used your item as prototype to get the email address. Dave. > Hi List, > > I am some what new to R-world. > > I am trying to plot some vector data, each vector has a direction and > magnitude, the data is taken from an array of points, some of the coverage > area overlap, some

Re: [R] Irregular time series plot

2010-10-01 Thread David Potts
Hi List, I am some what new to R-world. I am trying to plot some vector data, each vector has a direction and magnitude, the data is taken from an array of points, some of the coverage area overlap, some do not. Due nature of the grid there are some points that lack data. Can any body recommend

[R] Irregular time series plot

2010-10-01 Thread Vasanth Singan
Hi, I am new to R and trying to plot a time series data with irregular interval. I was wondering how to read a data of the following format and plot it ? Time 00:00:00 00:05:00 00:10:00 00:15:00 00:20:00 00:30:00 01:00:00

Re: [R] irregular time series and multiple, overlaid plots

2008-05-10 Thread Gabor Grothendieck
Look at the zoo and quantmod packages. On Sat, May 10, 2008 at 12:51 AM, falcon <[EMAIL PROTECTED]> wrote: > > I am new to R and am trying to solve the following problem: > > I have a data file containing tick-by-tick, millisecond level prices for > some stocks. I have another file or two contain

[R] irregular time series and multiple, overlaid plots

2008-05-09 Thread falcon
I am new to R and am trying to solve the following problem: I have a data file containing tick-by-tick, millisecond level prices for some stocks. I have another file or two containing orders and trades, again, with millisecond time-stamps. Both of these files are irregularly spaced and the time

Re: [R] Irregular Time Series Issue

2008-03-07 Thread Gabor Grothendieck
I noticed a problem with the merging factors so try using character variables instead: library(zoo) Lines <- "Time Data Time1 Data1 1 b1 e 7 g 4i NA NA 5 k NA NA NA NA " DF <- read.table(textConnection(Lines), header = TRUE, as.i

Re: [R] Irregular Time Series Issue

2008-03-07 Thread Gabor Grothendieck
The following reads in the series as a data frame and then na.omit's the NA's and converts to zoo. Optionally we can merge them back together aligning them on the times. library(zoo) Lines <- "Time Data Time1 Data1 1 b1 e 7 g 4i NA NA 5 k N

Re: [R] Irregular Time Series Issue

2008-03-07 Thread Spencer Graves
Have you considered using 'corCAR1' with 'lme' in the 'nlme' package? Hope this helps. Spencer Graves p.s. If you are not familiar with this, I highly recommend Pinheiro, J.C., and Bates, D.M. (2000) Mixed-Effects Models in S and S-PLUS (Springer). The "~R\library\nlme\scr

[R] Irregular Time Series Issue

2008-03-07 Thread A Mani
Hello, I have an irregular time series of the form : Time Data Time1 Data1 1 b1 e 7 g 4i NA NA 5 k NA NA NA NA ... (the columns have varying length of NAs after a certain point) Converting this to regular time se

Re: [R] irregular time series

2007-09-12 Thread Gabor Grothendieck
Try this. After defining our data, tt and x, we create a zoo series z by aggregating over days taking the last point corresponding to each day. Then we convert that to ts (which fills in the missing days) and create a zoo series with no data and those times merging it with the original zoo serie

[R] irregular time series

2007-09-12 Thread Nirav Mehta
Howdy! I am attempting to convert a date frame with irregular dates into a regular time series, aggregated by date. i have tried using both the 'its' and 'zoo' packages. I have something like times<-c("2003-03-05", "2003-03-05", "2003-05-05" ,"2003-04-07" ,"2003-03-05") aarf<-data.frame(times) a