annualAnomaly_byRegion: Annual Anomalies by region

annualAnomaly_byRegionR Documentation

Annual Anomalies by region

Description

This function caluclates annual anomalies ONLY FROM annual data. It can accept annual data from multiple stations or sections in the same dataframe although users should be cautious that sections/ stations are properly labeled.

Usage

annualAnomaly_byRegion(data, climatologyYears)

Arguments

data

A data frame of annual data containing AT LEAST metadata columns, year and section or station as well as one or more columns of data. If gathering data from azmpdata package, data frame should be ...Annual_Section or ...Annual_Station format.

climatologyYears

A vector of two numbers indicating the range to be used to calculate climatology (eg. c(1999, 2015))

Value

A data frame with annual anomalies named by the variable (NOTE: the anomalies are not named with 'anomaly', be careful of confusing with actual data values)


Echisholm21/multivaR documentation built on March 30, 2022, 5:55 a.m.