.read_2D: Generic function to read 2D output files (dietMatrix, sizeSpectrum, etc).
If no file is found, it returns NULL.
Description
Generic function to read 2D output files (dietMatrix, sizeSpectrum, etc).
If no file is found, it returns NULL.
Usage
.read_2D(files, path, ...)
Arguments
...
Extra arguments passed to the method.
Value
A 3D array (time, species, replicates) or NULL if no file is found.