[R] .ts
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Jun 28 12:26:14 CEST 2005
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 at 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 at 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
More information about the R-help
mailing list