lagStation {clim.pact} | R Documentation

## Introduce a lag in station values

### Description

Shifts the station values in time: introduce a lag

### Usage

    lagStation(x,lag=0)

### Arguments

`x` | A station object (see `station.obj`).
`lag` | lag

### Value

Astation object

### Author(s)

R.E. Benestad

### Examples

    data(oslo.t2m)
    oslo.t2m.1 <- lagStation(oslo.t2m,1)
    plotStation(oslo.t2m,mon=1,what="t")
    plotStation(oslo.t2m.1,add=TRUE,mon=1,what="t",col="darkblue")

[Package Contents]