Ensures that, for every combination
TR, Vs30, Vref, ID, Tn, there is exactly
one row per probability p and that
Sa(p) is non‑decreasing.
Usage
checkUHS(UHSTable, epsMonot = 1e-06)
Arguments
- UHSTable
data.table with columns
TR, Vs30, Vref, ID, Tn, p, Sa.
- epsMonot
numeric tolerance (default 1e-6).
Value
invisibly TRUE; stops on error.
Examples
if (FALSE) { # \dontrun{
# Requires a fully populated UHSTable produced by buildGMDP() or an
# equivalent upstream pipeline (must include the ID column that
# disaggregates per-quantile rows). Not bundled with the package.
checkUHS(UHSTable)
} # }