monthlyAnomaly: Caclulate monthly anomaly values

View source: R/calculations.R

monthlyAnomalyR Documentation

Caclulate monthly anomaly values

Description

This function calculates the monthly anomaly.

Usage

monthlyAnomaly(d, climatologyYears, normalizedAnomaly = TRUE)

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.

normalizedAnomaly

a logical value indicating whether or not to also calculated the normalized anomaly. Default is TRUE.

Value

a data.frame containing columns year, month, anomaly, and normalizedAnomaly if desired.

Author(s)

Chantelle Layton


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