Interpolate parameter to make a damaging function

interpolate_damaging(parameter, h, d, method = "constant", with_hazard = TRUE)

Arguments

parameter

data.frame of parameters of relation between damaging, h, and d

h

vector of hs

d

vector of d

method

the method chosen for the approximation

with_hazard

logical

Value

a data.frame with three columns h, d, damaging