recenter_anomalies: Recenter Climate-Series Anomalies on a Different Baseline

recenter_anomaliesR Documentation

Recenter Climate-Series Anomalies on a Different Baseline

Description

Centers or recenters climate time series on a range of baseline years; the data can already have been centered on a baseline, or can be non-centered to start with.

Usage

recenter_anomalies(
  x,
  baseline = defaultBaseline,
  digits = Inf,
  by_month = TRUE,
  return_baselines_only = FALSE,
  ...
)

Arguments

x

A data frame (down)loaded by function get_climate_data.

baseline

An integer year or, more typically, range of years on which the temperature anomalies will be centered. If NULL, no baseline centering is done; if TRUE, the default baseline of 1981–2010 is used.

digits

An integer indicating the number of decimal places to be used; passed to round().

by_month

Logical; use TRUE for monthly data, FALSE for yearly data.

...

Passed to get_climate_series_names.

Value

The data frame argument x recentered on baseline.


priscian/climeseries documentation built on July 4, 2025, 11:30 p.m.