prep.env
checks a list with information about environmental
covariates and converts it into the object required by momo.
Arguments
- x
Either a list with environmental data at different time points as matrices or an array where the third dimension corresponds to the time points.
- date.format
Optional; allows to specify the format of the time points (either names of list elements or attributes for the third dimension depending on the format of x).
- verbose
if
TRUE
, print information to console. Default:TRUE
.
Value
A 3-dimensional array with the gridded environmental data for x and y location (first two dimnesions) and the time points as third dimension.
Examples
data(skjepo)
env <- prep.env(skjepo.env)