
S3 class for time x resource x size arrays
Source:R/ArrayResource-class.R
MRArrayTimeByResourceBySize.RdNResource() for a mizerMR simulation returns a three-dimensional array
(time x resource x size) holding the resource number densities through time.
The MRArrayTimeByResourceBySize class wraps this array to provide
convenient print(), summary(), plot(), and as.data.frame() methods.
It is the multiple-resource analogue of mizer's ArrayTimeByResourceBySize
class.
Arguments
- x
A three-dimensional array (time x resource x size).
- value_name
A string giving the human-readable name for the value.
- units
A string giving the units (e.g. "1/g").
- params
A MizerParams object. Used for the resource colours and the size grid in the
plot()method.