deltas: CRU-based climatologies and delta change

Description Usage Arguments Details Value Examples

View source: R/deltas.R

Description

Compute CRU-based monthly or seasonal climatologies using a specific historical window. Use the climatologies to compute delta change from raw climate values.

Usage

1
2
3
cru_clim(x, limits = c(1960, 1989))

deltas(x, limits = c(1960, 1989))

Arguments

x

a data frame such as returned using the snapclim package.

limits

numeric, length-2 vector giving the range of years in the climatological window.

Details

cru_clim is used internally by deltas. It does not need to be used directly in this case.

Value

a data frame.

Examples

1
2
3
4
5
6
library(snapclim)
library(dplyr)
x <- climdata("ar5stats", "Anchorage") %>%
  filter(Var %in% c("pr", "tas"))
cru_clim(x)
deltas(x)

leonawicz/snapstat documentation built on May 17, 2019, 1:33 p.m.