array_week.Rd
`array_week()` transforms a list of 3D-arrays on a list of 4D-arrays by taking into account information on week. Called in `make_curve()`.
array_week(l, calendar, week, type = NULL, rule = list())
list of 3D-arrays (height, duration, current) of damaging function for a list of phenomena.
data.frame, calendar of `damaging.complement`.
vector of values of the week where to calculate damaging.
vector of type of phenomena used to group damaging function.
list of rules to be passed to each `type`.
list of 4D-arrays (height, duration, current, week), elements of the list are given by the type