On Wed, Jan 12, 2011 at 7:35 PM, Gene Leynes wrote:
> I like the zoo package, and there are several helpful examples.
> library(zoo)
>
> You can easily convert your data into a zoo object using
> I was actually just doing this using this function:
> LoadReturnData=function(x){
> ret = read.csv(
I like the zoo package, and there are several helpful examples.
library(zoo)
You can easily convert your data into a zoo object using
I was actually just doing this using this function:
LoadReturnData=function(x){
ret = read.csv(x)
ret = zoo(ret[ , -1], as.Date(ret[ , 1]))
colnames(ret
am Mi, 12.1.2011:
> Von: analys...@hotmail.com
> Betreff: [R] aggredating date data
> An: r-help@r-project.org
> Datum: Mittwoch, 12. Januar, 2011 20:20 Uhr
> I tried a date by date forecast of a
> time series and it seems to be
> too wild. How can I aggregate the date into
I tried a date by date forecast of a time series and it seems to be
too wild. How can I aggregate the date into weeks or months as
required?
Thanks.
The input looks like
ID datadate("-MM-DD") value_for_day
-- ----
-- --
4 matches
Mail list logo