Learn R Programming

SMPracticals (version 1.4-3.1)

venice: Extreme Sea Levels at Venice

Description

The ten highest annual sea levels (cm) at Venice, from 1887--1981.

Usage

data(venice)

Arguments

Format

A data frame with 95 observations on the following 11 variables.

year

1887--1981

y1

Annual maximum sea level (cm)

y2

Second largest sea level (cm)

y3

Third largest sea level (cm)

y4

Fourth largest sea level (cm)

y5

Fifth largest sea level (cm)

y6

Sixth largest sea level (cm)

y7

Seventh largest sea level (cm)

y8

Eighth largest sea level (cm)

y9

Ninth largest sea level (cm)

y10

Tenth largest sea level (cm)

Details

There are missing values in 1922 and 1935.

References

Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 162.

Examples

Run this code
data(venice)
attach(venice)
y <- y1[year>1930]  # for analysis in Section 5 of Davison (2003)
x <- year[year>1930]-1956
plot(x+1956,y,ylab="Sea level (cm)",xlab="Year")
lm(y~x)

Run the code above in your browser using DataLab