View source: R/Auxiliary_Functions_Data_Manipulation.R
unit2age | R Documentation |
This function transforms a FQuant with several 'unit' dimension into an array an unique 'unit' dimension and no 'area' dimension. Moving 'unit' to 'age' dimension. This is usefull when we use the 'unit' dimension to store the different seasonal cohorts.
unit2age(Q)
Q |
A FLQuant. The object must be the output of FLBEIA function. |
A 4-dimensional array with length c(d[1]*d[3], d[2], d[4], d[6]), where d is the dimension of the FLQuant.
The files must contain a single object (named as objnam
value).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.