Convert between length and weight using the relationship
$$w = a l^b$$
where a
and b
are taken from the species parameter data frame.
Arguments
- l
Lengths in cm. Either a single number or a vector with one number for each species.
- params
A species parameter data frame or a MizerParams object.
- w
Weights in grams. Either a single number or a vector with one number for each species.