Add the detail and costs of each new material measure

elementary.adaptation.cost(
  measure.cost,
  material.costs,
  reference,
  component,
  replacement,
  what,
  elementary,
  sub.type = NULL,
  coating = NULL,
  insulating = NULL,
  render = NULL
)

Arguments

measure.cost

list of the different cost to be updated with the replacement measure

material.costs

additionnal data-frame filling cost gaps in COMPONENT.ELEMENTARY

reference

the model without measure

component

the model with adaptation measures

replacement

the list from l.part with the details of one material modification

what

the column of the two models to compare (column changed by the measures)

elementary

the column of the two models containing the elementary components

sub.type

second column of the model, needed to select a certain object (ex: window, door...)

coating

NuLL or column of coating material, if an element (floor, wall...) has a coating, add the price of the coating

insulating

NuLL or column of insulating material, if an element (floor, wall...) has an insulating, add the price of the insulating

render

NuLL or column of render material, if an element (floor, wall...) has a render, add the price of the render

Value

mesure.cost, a list with the cost of prevention (only material modification) and repair (repair due to flood and modifiaction of material at the same time) and the details