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)

## Arguments

Q A FLQuant. The object must be the output of FLBEIA function.

## Value

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.

## Note

The files must contain a single object (named as objnam value).