Skip to contents

Add material damage to a layer of assets

Usage

add_damage_material(
  asset,
  vulnerability = floodam.campsite::elementary_vulnerability
)

Arguments

asset

sf object, asset layer.

vulnerability

data.frame, vulnerability of elementary components.

Value

An sf object with damage informations added.