Skip to contents

Create default damaging functions

Usage

create_default_damaging(
  hazard_range,
  component = NULL,
  type = "damaging",
  more = NULL
)

Arguments

hazard_range

list with two items ("f" and "d") giving hazard_range

component

character, giving what type of component this is related to, if any

type,

gives the resulting class of result

more,

a list to add some dimensions to result.

Value

an array representing a damaging function of class type, with default value (NA)