Structures a table of mean length (cm) at age into the year-season-age array
used by get_data().
Details
The input data.frame must contain the mean length (cm) at age
arranged
into the columns Year, Season, and ages 0 to 30:
| Year | Season | 0 | 1 | ... | 29 | 30 |
| 1931 | 1 | 45 | 57.1 | ... | 74.1 | 88.8 |
| 1932 | 1 | 45 | 57.1 | ... | 74.1 | 88.8 |
| ... | ... | ... | ... | ... | ... | ... |
| 2021 | 2 | 50 | 68.9 | ... | 184.0 | 184.0 |
| 2022 | 2 | 50 | 68.9 | ... | 184.0 | 184.0 |
The implementation requires exactly one complete row for each year-season combination and is specialized to seasons 1 and 2. Rows are sorted within season before the output array is filled.
