monthlyNormalizedAnomaly | R Documentation |
This function calculates the monthly normalized anomaly.
monthlyNormalizedAnomaly(d, climatologyYears)
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. |
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.
a data.frame containing columns year
, month
, and normalizedAnomaly
Chantelle Layton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.