mp_jabba | R Documentation |
Fits JABBA model in JAGS and produce output object as list()
mp_jabba(
jbinput,
ni = 30000,
nt = 5,
nb = 5000,
nc = 2,
init.values = FALSE,
init.K = NULL,
init.r = NULL,
init.q = NULL,
par.quantile = 0.5,
b.quantile = 0.5,
quickmcmc = TRUE,
verbose = FALSE
)
jbinput |
List of input variables as output by build_jabba() MCMC settings |
ni |
number of iterations |
nt |
thinning interval of saved iterations |
nb |
burn-in |
nc |
number of mcmc chains Initial values |
init.values |
= FALSE, |
init.K |
= NULL, |
init.r |
= NULL, |
init.q |
= NULL,# vector |
par.quantile |
quantile(s) of parameter posterior, default median 0.5 |
b.quantile |
quantile(s) of biomass posterior, default median 0.5 |
quickmcmc |
option to run short mcmc |
verbose |
option show cat comments and progress |
peels |
= NULL, # retro peel option |
A result list containing estimates of model input, settings and results
data(iccat)
jbinput <- build_jabba(catch=iccat$bet$catch,cpue=iccat$bet$cpue,se=iccat$bet$se,model.type="Fox",verbose=FALSE)
system.time(fit_jabba(jbinput,quickmcmc=TRUE,verbose=FALSE))
system.time(mp_jabba(jbinput))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.