Skip to contents

The sensitivity analysis post-processing looks runs up by which trait sits at which quantile, rather than by run order. This builds that lookup from the design and the ids the writer returned, so it no longer has to be produced as a side effect of writing the configs.

Usage

sa_run_id_table(design_matrix, run_ids)

Arguments

design_matrix

The design from generate_OAT_SA_design.

run_ids

Run ids, one per design row, in design order.

Value

A named list with one data.frame per PFT, quantiles as rownames and traits as columns, holding the run id for each combination. The median run fills the median row of every trait, since one run covers them all. This is the sa.run.ids object saved in sensitivity.samples.<id>.Rdata.