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{
checkUHS(UHSTable)
} # }