Message-ID: <Pine.A41.4.44.0210030641200.112860-100000@homer41.u.washington.edu>
Date: 2002-10-03T13:41:43Z
From: Thomas Lumley
Subject: Convert daily to weekly ts ?
In-Reply-To: <E17wmc9-0006Xq-00@server.family>
On Wed, 2 Oct 2002, FWR wrote:
> Have 3.5 years daily data that I want to convert to weekly. Looking for
> something like SAS's "expand" function, where you can specify the
> conversion function (sum, average, etc.) and get a new vector out with
> different sampling frequencies.
>
aggregate().
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._