| dataWind {extremefit} | R Documentation |
Wind speed for Brest (France)
Description
The data frame provides the wind speed of Brest from 1976 to 2005.
Usage
data("dataWind")
Format
The data is the wind speed in meters per second (m/s) every day from 1976 to 2005.
YearThe year of the measure.
MonthThe month of the measure.
Daythe day of the measure.
SpeedThe wind speed in meters per second
Examples
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")
[Package extremefit version 1.0.2 Index]