From: Roberto Bermejo on 9 Mar 2010 04:45 I dealing with a time-series like the next: 09/03/2010 9:00 1 09/03/2010 9:05 2 09/03/2010 9:10 2 09/03/2010 9:15 6 09/03/2010 9:20 8 09/03/2010 9:25 0 10/03/2010 11:23 12 10/03/2010 11:24 15 10/03/2010 11:25 85 10/03/2010 11:26 62 10/03/2010 11:27 23 As you can see, the number of data for each date is non-homogeneous. I am trying to get parameters like the mean, max, etc. for each day. I am procceding in two different ways: First, defining that as a timeseries. ts=timeseries (Data, Time) Second, defining that as a Financial timeseries: tsobj=fints(dates, data). I think that could work better, for example the function todaily converts that to a daily database, using the last data for each date (which is also useful for me). Anyone knows if there is any function which takes the mean, median, etc. in this daily conversion? Would anyone know a different approach to do that simple?
|
Pages: 1 Prev: How to search data in database.. Next: hindmarsh rose model with delay (dde) |