Skip to contents

Computes statistics on rogue wave occurrence rates and associated conditions.

Usage

analyze_rogue_statistics(con, threshold = 2, min_wave_height = 2)

Arguments

con

DBI connection to DuckDB database

threshold

Hmax/WaveHeight ratio threshold (default: 2.0)

min_wave_height

Minimum significant wave height (default: 2m)

Value

List containing rogue wave statistics by station and overall

Examples

if (FALSE) { # \dontrun{
con <- connect_duckdb()
stats <- analyze_rogue_statistics(con)
print(stats$by_station)
DBI::dbDisconnect(con)
} # }