Combines the GAMs results that are saved in one (solve_level = 0
) or multiple (solve_level = 1
) gdx files into a single rds file, that can be
easily loaded into R. The file is saved in the processed_data/results
folder.
combine_results(param, cut = 1e-04, out = FALSE)
Object of type spam_par
that bundles all SPAM parameters,
including core model folders, alpha-3 country code, year, spatial
resolution, most detailed level at which subnational statistics are
available, administrative unit level at which the model is solved and type of
model.
numeric. Sets allocation smaller than a certain value to 0. The default is 0.0001 (1 m2).
logical; should the results be returned as output?
if (FALSE) {
combine_results(param)
}#'