Compile a vector of initial values to use in TMB. One value for each estimated parameter (not random effects). Should all be in a credible range.

getInits(datTmb, sdInits = 1)

Arguments

datTmb

Object obtained using getDatTmb()

sdInits

If >0 initial values will be randomized around the normally fixed value using rnorm(length(inits), mean=inits, sd=sdInits)

Value

Vector of initial values to use in TMB