Description Usage Arguments Value Author(s) See Also Examples
The aggregation is based on the S3 method for zoo
objects, but
takes care of extra house keeping, such as attributes with meta data.
1 2 3 4 5 |
x |
A |
by |
see |
FUN |
see |
regular |
see |
frequency |
see |
is |
spatial selection - see |
na.rm |
TRUE: ignore NA - see see |
The call returns a station object
R.E. Benestad
spatial.avg.field
as.4seasons
, annual
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Example: use aggregate to compute annual mean temperature for Svalbard:
data(Svalbard)
yr <- year(Svalbard)
y <- aggregate(Svalbard, by=yr, mean, na.rm = FALSE)
plot(y)
# Example for getting seasonal aggregate of standard deviation of
oslo <- station("Oslo Blindern",stid="193",src="ECAD")
ym <- as.4seasons(oslo,FUN=mean)
ys <- as.4seasons(oslo,FUN=sd)
y <- combine(ym,ys)
plot(y)
x <- t2m.NCEP()
z <- aggregate.area(x)
plot(z)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.