Calculate weight from length using an allometric relationship.
Usage
length_to_weight(midpoint, a, b)
Arguments
- midpoint
a numeric vector of length midpoints (mm).
- a
the allometric coefficient.
- b
the allometric exponent.
Value
a numeric vector of weights (kg).