| anomaly | R Documentation |
Departure from the mean over a baseline period
anomaly(data, value, baseline = NULL, year_col = "year")
data |
Data frame with |
value |
Name of the column to use |
baseline |
Optional |
year_col |
Name of the year column for the baseline |
Numeric vector of anomalies, one for each row of data
df <- data.frame(year = 2001:2005, t2m = c(25, 26, 25.5, 27, 26.5))
anomaly(df, "t2m")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.