anomaly.station {clim.pact} | R Documentation

## Anomaly.station

### Description

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`.

### Usage

    anomaly.station(obs,period=c(1961,1990),param=c("t2m","precip"))

### Arguments

`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.

### Value

Station series object.

### Author(s)

R.E. Benestad

### Examples

    library(clim.pact)
    data(oslo.t2m)
    oslo.t2ma<-anomaly.station(oslo.t2m)

[Package clim.pact version 2.2-1 Index]