weight: Weight at age

View source: R/weight.R

weightR Documentation

Weight at age

Description

weight returns a vector of weights at age, in kg.

Usage

weight(L, WA, WB)

Arguments

L

numeric vector, the length at age vector, in cm.

WA

numeric value, the coefficient in the weight at length equation.

WB

numeric value, the exponent in the weight at length equation.

Value

a numeric vector of weights at ages, from age at recruitment to maximum age, in kg.

Examples

L <- length_age(Rec_age = 2, Max_age = 35, A1 = 5, L1 = 32.21, A2 = 15,
   L2 = 47.95, K = 0.2022, All_ages = FALSE)
weight(L, WA = 1.68e-5, WB = 3)

vquennessen/densityratio documentation built on Aug. 28, 2022, 5:36 p.m.