Produce an elementary function damage, save it make a graph if asked.

produce_elementary_damaging(
  component_elementary,
  category_vulnerability,
  category_vulnerability_complex,
  component_elementary_action,
  hazard_range,
  d_select,
  path = NULL,
  graph = TRUE,
  verbose = TRUE
)

Arguments

component_elementary

data.frame of possible component_elementary

category_vulnerability

data.frame of damaging tables

category_vulnerability_complex

data.frame of damaging tables complex

component_elementary_action

data.frame of damaging actions

hazard_range

a list of value where to calculate damaging functions

d_select

selected values of durations where to make some focus. At list one value.

path

path for saving the result. Default to NULL, nothing is saved

graph

boolean, should a graph be made

verbose

logical

Value

a list of array giving detailed damaging function