annualAnomaly_byRegion: Annual Anomalies by region

Description Usage Arguments Value

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

1
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)


EOGrady21/multivaR documentation built on March 3, 2022, 12:01 a.m.