Skip to contents

collect all durations (not summarized) by decade, useful for histograms. Decade start/end dates come from a table 'decades' that must exist in the database

Usage

duration_by_decade_sql(mhw_table, use_end_date = FALSE)

Arguments

mhw_table

character name of scenario table to use

use_end_date

boolean TRUE: use waves ending in the decade; FALSE: use waves starting in the deacde

Value

character sql code to run