When developing spartanDB, it became clear curve results may not be in separate files but in one R object. This takes an R object containing curve summaries and builds these into the format spartan requires to perform the analysis
build_curve_results_from_r_object(CURVE_SUMMARY, NUMCURVES, NUMSAMPLES,
MEASURES, PARAMETERS)
R object containing summaries for all curves
The number of 'resamples' to perform (see eFAST documentation) - recommend using at least 3
The number of parameter subsets that were generated in the eFAST design
Array containing the names of the output measures which are used to analyse the simulation
Array containing the names of the parameters of which parameter samples have been generated
R matrix containing the curve summaries in the format spartan requires