vblrt(len = NULL, age = NULL, group = NULL, error = 1, select = 1, Linf = NULL, K = NULL, t0 = NULL,plottype=0,
control=list(maxiter=10000,minFactor=1/1024,tol=1e-5))
nls
fit for the general model.nls
for model H1 (Linf1=Linf2).nls
fit for model H2 (K1=K2).nls
fit for model H3 (t01=t02).nls
fit for model H4 (Linf1=Linf2, K1=K2, t01=t02).# Group 2 Linf2<-Linf1+x$'model Ho'$coefficients[2] K2<-K1+x$'model Ho'$coefficients[4] t02<-t01+x$'model Ho'$coefficients[6] where x is the output object. For models H1, H2, H3 and H4, the shared VB parameter for the second group will be the same as the first group.
Kimura, D. K. 1980. Likelihood methods for the von Bertalanffy growth curve. U. S. Fish. Bull. 77(4): 765-776.
## Normally, the length and age data will represent data for individuals.
## Kimura's data are mean lengths-at-age but are usable because error=2
## will calculate mean lengths-at-age from individual data. Since only
## one value is present for each age,the mean length will be calculated
## as the same value.
data(Kimura)
vblrt(len=Kimura$length,age=Kimura$age,group=Kimura$sex,error=2,select=1,
plottype=2)
Run the code above in your browser using DataLab