Compare Rogue Wave and Rogue Gust Occurrence
compare_rogue_wave_gust.RdCompares the occurrence rates of rogue waves (Hmax/Hs > 2) and extreme gusts (gust/wind > 2.6).
Examples
data <- data.frame(
wave_height = c(3, 4, 5, 2.5),
hmax = c(5, 9, 8, 4),
wind_speed = c(10, 15, 20, 8),
gust = c(15, 40, 30, 12)
)
compare_rogue_wave_gust(data)
#> phenomenon definition n_events n_eligible occurrence_pct
#> 1 Rogue Wave Hmax/Hs > 2.0 1 4 25
#> 2 Rogue Gust Gust/Wind > 2.6 1 4 25