For each parameter, and each simulation output measure, calculates the Partial Rank Correlation Coefficient between the parameter value and the simulation results, giving a statistical measurement of any effect that is present. This is output to a CSV file. Can be performed for a number of timepoints if required.
lhc_generatePRCoEffs(FILEPATH, PARAMETERS, MEASURES, LHCSUMMARYFILENAME,
CORCOEFFSOUTPUTFILE, TIMEPOINTS = NULL, TIMEPOINTSCALE = NULL,
cor_calc_method = c("s"), check_done = FALSE,
write_csv_files = TRUE, lhc_summary_object = NULL)
Directory where the simulation runs of single CSV file can be found
Array containing the names of the parameters of which parameter samples will be generated
Array containing the names of the output measures which are used to analyse the simulation
Name of the LHC Summary file to be generated. Contains each parameter set alongside the result gained when the simulation was run under that criteria.
Name of the generated CSV file generated
Implemented so this method can be used when analysing multiple simulation timepoints. If only analysing one timepoint, this should be set to NULL. If not, this should be an array of timepoints, e.g. c(12,36,48,60)
Implemented so this method can be used when analysing multiple simulation timepoints. Sets the scale of the timepoints being analysed, e.g. "Hours"
Way to calculate the correlation coefficient: Pearson's ("p"), Spearman's ("s"), and Kendall's ("k"). Default is p
If multiple timepoints, whether the input has been checked
Whether results should be output to CSV file. Used with spartanDB
If not specified in a CSV file, results can be specified in an R object. In this case LHCSUMMARYFILENAME will be NULL
If no CSV file output, PRCC values returned as an R object