anomaly.station {clim.pact} | R Documentation |
Computes anomalies of a station series by subtracting the
climatology. The climatology is estimated either by taking the average
of the respective months over a given reference period or a least
squares fit to the 6 leading harmonics, depending on the
appropriateness. Also see anomaly.field
.
anomaly.station(obs,period=c(1961,1990),param=c("t2m","precip")) daily2monthly.station(obs,param="t2m",min.days.month=20,method="mean",na.rm=TRUE)
obs |
Monthly station series |
period |
Period to use as climatology NULL -> the entire series as reference clim. |
param |
For daily objects: identifies the names of the parameters. |
min.days.month |
Minumum days per month for estimating monthly mean. |
method |
Meathod for treating the daily values. |
na.rm |
na.rm |
Station series object.
R.E. Benestad
library(clim.pact) data(oslo.t2m) oslo.t2ma<-anomaly.station(oslo.t2m)