Description Usage Format References Examples
Monthly averages of large-scaled climate oscillations in the northern hemisphere: Pacific Decadal (PDO), Arctic (AO) and North Atlantic (NAO) from January 1950 to December 2017.
1 |
data frame with 7 columns:
beginning 1950
1-12
indices are roughly standard normal ...
October:March = winter; April:September = summer
assigns January:March to the previous year
PDO: http://research.jisao.washington.edu/pdo/; AO: http://www.cpc.noaa.gov/products/precip/CWlink/daily_ao_index/ao_index.html; NAO: https://www.ncdc.noaa.gov/teleconnections/nao/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data(Oscillations)
require(gridExtra)
ggplot.osc <- function(data = Oscillations, var, title = ""){
ggplot(data %>% mutate(year = factor(year)),
aes(year, get(var))) +
geom_boxplot() +
ggtitle(title) + ylim(-2.5,2.5)
}
o <- subset(Oscillations, year >= 1990 & season == "winter") %>% mutate(year = Y2)
pdo <- ggplot.osc(o, "PDO", "Pacific Decadal Oscillation")
ao <- ggplot.osc(o, "AO", "Arctic Oscillation")
nao <- ggplot.osc(o, "NAO", "North Atlantic Oscillation")
grid.arrange(pdo, ao, nao, nrow = 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.