monthlyNormalizedAnomaly: Caclulate monthly normalized anomaly values

View source: R/calculations.R

monthlyNormalizedAnomalyR Documentation

Caclulate monthly normalized anomaly values

Description

This function calculates the monthly normalized anomaly.

Usage

monthlyNormalizedAnomaly(d, climatologyYears)

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.

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


clayton33/csasMarPhys documentation built on June 8, 2025, 3:10 a.m.