Collects and combines results from individual PBS array job tasks.
Usage
aggregate_partial_results(
output_dir,
pattern = "result_.*\\.rds$",
remove_partial = FALSE,
verbose = TRUE
)Examples
if (FALSE) { # \dontrun{
# After PBS jobs complete
results <- aggregate_partial_results("results_sweep_modelsel")
# View results
head(results)
} # }