search for: jaxa_mo_366

Displaying 1 result from an estimated 1 matches for "jaxa_mo_366".

Did you mean: jaxa_mo_365
2009 Dec 22
1
Using zoo() to aggregate daily data to monthly means
...freq's of 365 and 366 JAXA_365 <- as.zoo(ts(JAXA$Extent, start = c(2003,1,1),freq=365)) JAXA_366 <- as.zoo(ts(JAXA$Extent, start = c(2003,1,1),freq=366)) ## aggregate to yearmon using JAXA_365 & JAXA_366 zoo objects JAXA_mo_365 <- aggregate(JAXA_365, mean, by=yearmon, na.rm=T) JAXA_mo_366 <- aggregate(JAXA_366, mean, by=yearmon, na.rm=T) ## Compare last 6 records for JAXA_365 & JAXA_366 tail(JAXA_mo_365) tail(JAXA_mo_366) When I compare the two tail reports, I get Jan, 2007 for last month for JAXA_365 and Dec, 2007 for JAXA_366. What is proper freq for daily data, 365 or...