make_pmat: Make list of parameter matrices from climate input data
Description
Reformat climate input data into separate lists
Usage
make_pmat(x, pad = FALSE)
Arguments
x
climate data as returned from as_tcclimate
pad
should the previous year be padded with NAs? This is useful when
we want to use the full range of available data when all predictors derive
from the current year
Value
a list of matrices
Details
Make separate lists for each parameter in the climate data input, and make
them accessible by the parameter names. The single lists correspond to the
scheme years in rows, observations from previous december to current
december in columns.