search for: jaxa_365

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

Did you mean: jaxa_366
2009 Dec 22
1
Using zoo() to aggregate daily data to monthly means
...col.names = c("Mo", "Day", "Yr", "Extent") ) ## Subset raw data to period: Jan,2003 to Dec, 2007 JAXA <- subset(JAXA_data, JAXA_data$Yr >=2003 & JAXA_data$Yr <=2007) ## create zoo object starting Jan, 2003 - use 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_36...