Learn R Programming

Tivy (version 0.1.1)

calculate_fish_weight: Calculate fish weight from length

Description

Estimates individual fish weight from length using the length-weight relationship: W = a * L^b

Usage

calculate_fish_weight(length, a, b)

Value

Numeric vector of estimated weights.

Arguments

length

Numeric vector of fish lengths.

a

Coefficient of the length-weight relationship.

b

Exponent of the length-weight relationship.

Details

The length-weight relationship follows the allometric equation W = a * L^b, where W is weight, L is length, and a and b are species-specific parameters.

References

Froese, R. (2006). Cube law, condition factor and weight–length relationships: history, meta-analysis and recommendations. Journal of Applied Ichthyology, 22(4), 241-253.