adjust_elementary_damaging.Rd
Adjust elementary damaging function to local characteristics
adjust_elementary_damaging(
component,
what = NULL,
damaging = NULL,
dilapidation = 0,
surface_height = NULL,
hazard_range = NULL,
synthetic = TRUE,
graph = FALSE,
talkative = getOption("floodam_building_talkative"),
file_log
)
data.frame with one row, useful information (H_abs, dilapidation, quantity, height)
character, what should be used in component
array of class elementary_damaging
numeric, dilapidation rate to be applied, default to 0
function, how to calculate surface depending on H_abs, only valid for elementary components linked to wall, default to NULL
list, desired hazard_range, default to getOption("floodam_building_hazard_range")
boolean, should result be synthetic
boolean, should result be plotted
boolean, should the function be talkative (for debug purpose)
character, path of the file where to write some possible problems
an array of two dimensions with same h_range and d_range than damaging