Displaying 1 result from an estimated 1 matches for "glacierdischarge".
2009 Jan 23
1
extract certain months toyears (zoo)
...cy=1 ?
Do you have alternative suggestions how to get to such data??
what i did...
#########################################################
## want to create monthly aggr. and extract the summer data
#########################################################
library(zoo)
a.z<- read.zoo("glacierdischarge.txt", header=TRUE, sep=",", dec = ".",
na.string="NA", format = "%d.%m.%Y")
a.z.mean <- aggregate(a.z, as.yearmon, mean)
a.z.median <- aggregate(a.z, as.yearmon, median)
a.z.sd <- aggregate(a.z, as.yearmon, sd)
a.z.min <- aggregate(a.z, as.ye...