Re: [R] .ts

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue 28 Jun 2005 - 20:26:14 EST

On Tue, 28 Jun 2005, Achim Zeileis wrote:

> On Tue, 28 Jun 2005 10:53:11 +0100 (BST) Prof Brian Ripley wrote:
>
>> On Tue, 28 Jun 2005, Achim Zeileis wrote:
>>
>>> On Tue, 28 Jun 2005 09:20:54 +0200 pir2.jv wrote:
>>>
>>>> Goog morning!
>>>> How to construct a time serie in hours or in minuts, ...
>>>> The examples are all in years
>>>> Excuse for questions so basic!
>>>
>>> Look at the zoo package for time series with arbitrary time scale
>>> (e.g.,"Date", "chron", "POSIXct", ...). The zoo vignette also
>>> explains the relation to other irregular time series classes
>>> available in package its, fCalendar and tseries.
>>
>> However, this might be a regular time series. For an example, see
>> example(beav1, package="MASS"). This a series measured every 10 mins.
>
> ...which you could handle by creating a regular zoo series (of class
> "zooreg").

Yes, but the standard ts analysis functions are for objects of class "ts", and those suffice for regular time series.

Some work for class zooreg and some do not. (More would if zooreg had a tsp() method.)

> Z
>
>> --
>> Brian D. Ripley, ripley@stats.ox.ac.uk
>> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
>> University of Oxford, Tel: +44 1865 272861 (self)
>> 1 South Parks Road, +44 1865 272866 (PA)
>> Oxford OX1 3TG, UK Fax: +44 1865 272595
>>
>
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Jun 28 20:29:11 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:03 EST