if (FALSE) {
data(simulus)
growth_sel(age=simulus$age,size=simulus$size,weights=simulus$weight,
minlimit=simulus$minlimit,
maxlimit=simulus$maxlimit,minmax=simulus$minmax,
switch_varpar=1,
Linf=list(init=1000,lb=100,ub=2000,prior.mean=1000,prior.var=-0.5,prior.pdf=1),
K=list(init=0.3,lb=0.1,ub=0.9,prior.mean=0.3,prior.var=-0.05,prior.pdf=1),
t0=list(init=-0.5,lb=-4,ub=-0.001,prior.mean=-0.5,prior.var=-0.5,prior.pdf=1),
varpar=list(init=50.0,lb=10,ub=100,prior.mean=100,prior.var=-1.0,prior.pdf=1),
tmb.control=list(maxit=5000,trace=F),nlminb.control=list(eval.max=100000,
iter.max=1000),
species_info=list(species="gag",size_units="inches"))
}
Run the code above in your browser using DataLab