tc_design: Deparse list structure from month specification and return parameter set
Description
Deparse list structure from month specification into single calls, call an
aggregating function to collect the data, and return a parameter set for
calibration. In general, the months must be specified as a list or nested
list structure. Possible cases are:
list()
list(...)
list(list(...))
list(list(...), list(...), ...)
Usage
tc_design(selection, climate, check_2 = TRUE)
Arguments
selection
the list structure to specify the month selection
climate
the climate data as returned by make_pmat
check_2
should there be a check for less than 2 variables
in the design matrix?