AMO graph


R has very versatile graphical capabilities; it can also fit a variety of smoothers to the data.


As an example of this, some may have seen the graph below published in this recent series of Lloyd's papers.



Here is the R code which produces the graph. The AMO data can be found from here, the number of major hurricanes data was taken from this paper by Goldenburg, Gray et al from Science (Vol293, pg474) (you'll need a Science subscription). Note this data has been converted into a database which you can download below.


If you want to trial run the code you will need to:



Note if you want to supress the individual data points (grey) then see the "typeVal" variable in the code and follow the comment.


Notes on the Graph:



The first two bullets would have been time consuming to do in Excel; as usual the power of the R community wins!