make_curve.Rd
`make_curve()` makes the damage curve, for a crop. This function is called in `calculate_damaging()`.
data.frame, damage function for each type of phenomena impacting a crop. See `inst/extdata/default/damagement/<crop>/damaging.core.csv`.
data.frame, complementary damaging information for a crop. See `inst/extdata/default/damagement/<crop>/damaging.complement.csv`.
data.frame, crop calendar.
list giving levels for hazard parameters (current, duration, height, week), default to floodam.agri::LEVEL.
list of combine methods for each type of phenomena used to group damaging function.
data.frame, correspondance between velocity qualitative classes and their numeric value. Default to floodam.agri::CURRENT.
character, should output be of class data.frame or a list, default to "data.frame".
if `type` is "data.frame", `make_curve()` returns a data.frame
if `type` is "list", `make_curve()` returns a list of 4D-arrays.