This method runs an ensemble for all parameter value sets specified in a CSV file generated from spartan latin-hypercube sampling techniques. The output is a CSV file that can then be analysed using the spartan analysis methods detailed in Technique 3.
emulate_lhc_sampled_parameters(filepath, surrogateModel, parameters,
measures, measure_scale, param_file = NULL, dataset = NULL,
ensemble_set = TRUE, normalise = FALSE, timepoint = NULL,
timepointscale = NULL, write_csv_files = TRUE,
graph_results = TRUE)
Path to where the analysis output should be stored
Ensemble or emulator to use to emulate the simulation responses for those sets
Simulation parameter names
Simulation output response names
Scale of each of the simulation responses
Name of the CSV file generated by spartan (or of) parameter values, separated in columns - if reading these in from a file
Name of the R dataset in the environment that contains the parameter sets (the tutorial one is emulated_lhc_values)
Boolean stating whether this analysis is being run using an ensemble of machine learning methods (TRUE), or a single emulator (FALSE)
Whether the parameters in the sampling CSV file need to be normalised before input to the emulator (which must take values between 0 and 1)
Simulation timepoint being analysed, if more than one. See the vignette for analysing more than one timepoint
Scale of the timepoints, if being used
Whether output should be written to CSV file. Used with spartanDB
Whether plots should be produced for this analysis