Skip to contents

Fit Newmark displacement for multiple scenario rows

Usage

fitDnScenarios(records, weights, useParallel = FALSE, workers = 1L)

Arguments

records

data.table of scenario rows. Each row has the contract required by fitDnScenario(); its UHS list column may mix quantile and analytic spectra across rows.

weights

named numeric vector of active Newmark model weights by IDn.

useParallel

logical. Use fork parallelism when available.

workers

integer worker count when useParallel = TRUE.

Value

list with row-bound curve and draws data.tables. The draw table retains the sampled PGA in g as PGA.s.