Summary: 3 R session: Weather extremes
To get started, you will need to be seated at a computer with R installed, and initiate R, which
is usually done through menus selected from the Start menu, or an icon. In addition the
libraries ismev and evd should be installed. We will connect these, and install some of our
own supplementary routines, using the commands
Provided these all go through without a hitch, we are ready to go!
1. In this question, we will do a simple analysis of annual maximum wind speeds recorded
at Boston, Massachusetts, for 50 years from 1936 to 1985.
(a) Provided you have the file boston.txt in your working directory, this can be
loaded into Rusing the command:
We have now created an R object called boston which is a single column con-
taining consecutive years with annual maximum wind speeds in mph. We can have
a look at this by simply typing:
(b) We now wish to separate out the year and maximum components into separate
vectors. This can be done using the commands: