Learn R Programming

oce (version 0.9-14)

nao: North Atlantic Oscillation Index

Description

This is the North Oscillation Index, downloaded in May 2014 and processed as follows. d <- scan("http://www.cpc.ncep.noaa.gov/products/precip/CWlink/pna/norm.nao.monthly.b5001.current.ascii.table") isYear <- d > 1900 index <- d[!isYear] year <- 1/24 + seq(d[isYear][1], by=1/12, length.out=length(index)) nao <- data.frame(year=year, index=index)

Usage

data(nao)

Arguments

source

http://www.cpc.ncep.noaa.gov/products/precip/CWlink/pna/norm.nao.monthly.b5001.current.ascii.table

Examples

Run this code
library(oce)
data(nao)
plot(nao$year, nao$index, type='l')

Run the code above in your browser using DataLab