Usage
growth(intype=1,unit=1,size=NULL,age=NULL,calctype=1,wgtby=1,s2=NULL,error=1,
Sinf=NULL,K=NULL,t0=NULL,B=3,graph=TRUE,
control=list(maxiter=10000,minFactor=1/1024,tol=1e-5))
Arguments
intype
the input format: 1= individual size data; 2 = mean size data. Default intype=1.
unit
the size unit: 1= length; 2 = weight. Default unit=1.
size
the vector of size (length or weight) data.
age
the vector of ages associated with the size vector.
calctype
if intype=1, 1 = use individual size data; 2 = calculate mean size from individual size data. Default calctype=1.
wgtby
weighting scheme: 1 = no weighting; 2 = weight means by inverse variance. Weighting of individual data points is not allowed. Default wgtby=1.
s2
if intype=2 and wgtby=2, specify vector of sample variances associated with mean size-at-age data.
error
the error structure: 1 = additive; 2 = multiplicative. Default error=1.
Sinf
the starting value for L-infinity or W-infinity of the growth models. Required.
K
the starting value for K of the growth models.
t0
the starting value for t0 of the growth models.
B
the length-weight equation exponent used in the von Bertalanffy growth model for weight. Default B=3.
graph
logical value specifying if fit and residual plots should be drawn. Default graph=TRUE.