interpolate_damaging.Rd
Interpolate parameter to make a damaging function
interpolate_damaging(parameter, h, d, method = "constant", with_hazard = TRUE)
data.frame of parameters of relation between damaging, h, and d
vector of hs
vector of d
the method chosen for the approximation
logical
a data.frame with three columns h, d, damaging