aggregate_damage.Rd
`aggregate_damage()` reads combined damage functions and aggregates damage accordingly to files in `hazard_agg`.
aggregate_damage(
path,
damage_origin = "RPG_total",
hazard_agg = "hazard.00",
retrieve = TRUE
)
list, describing where to find useful paths.
character indicating which type of damage should be aggregated. The damage functions to aggregate should be found in one of `list.files(path[["output"]][["combine"]])` after having called `combine_damaging()`. Default to "RPG_total".
character indicating the name of the hazard folder which contains the aggregated hazard parameters. Default to "hazard.00" used for the french national damage functions.
logical indicating whether the result should be returned. Default to TRUE.
data.frame of damage aggregated.