Named vector showing the dimension names and number of levels.
Arguments
x
a data frame where the first columns are dimension variables and the
last column is a measurement variable.
reduce
is whether to omit single-level dimensions.
Details
Dimension variables can include year, age, region, fleet, survey, or the
like, generally an integer or string. The measurement variable can be catch,
fishing mortality, maturity, weight, or the like, often a decimal.
x can also be an FLR table in FLQuant format.
See Also
unique is the base function to extract the levels of a
dimension variable.