monthlyNormalizedAnomaly: Caclulate monthly normalized anomaly values

monthlyNormalizedAnomalyR Documentation

Caclulate monthly normalized anomaly values

Description

This function calculates the monthly normalized anomaly.

Usage

monthlyNormalizedAnomaly(d, climatologyYears, var)

Arguments

d

a data.frame containing at least a column named year, month, and one other variable

climatologyYears

a vector of length two indicating the range of years to calculate the climatology.

var

name of variable of which anomaly should be calculated (present in 'd“)

Details

To calculated the normalized anomaly, two climatology values are required, those being the monthly and standard deviation. The normalized anomaly values are calculated by subtracting the monthly climatology value from the monthly value, and the dividing it by the monthly climatology standard deviation.

Value

a data.frame containing columns year, month, and normalizedAnomaly

Author(s)

Chantelle Layton, Emily Chisholm

See Also

Other anomaly: annualAnomaly(), annualNormalizedAnomaly(), monthlyAnomaly(), monthlyClimatology(), monthlyStandardDeviation()


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