dataWind: Wind speed for Brest (France)

Description Usage Format Examples

Description

The data frame provides the wind speed of Brest from 1976 to 2005.

Usage

1
data("dataWind")

Format

The data is the wind speed in meters per second (m/s) every day from 1976 to 2005.

Year

The year of the measure.

Month

The month of the measure.

Day

the day of the measure.

Speed

The wind speed in meters per second

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(extremefit)
data("dataWind")
attach(dataWind)

pred <- NULL
for(m in 1:12){
  indices <- which(Month == m)
  X <- Speed[indices]*60*60/1000
  H <- hill.adapt(X)
  pred[m] <- predict(H, newdata = 100, type = "survival")$y
}
plot(pred, ylab = "Estimated survival probability", xlab = "Month")

extremefit documentation built on May 6, 2019, 1:10 a.m.