Skip to contents

Provide global objects and functions for MCMC sampling.

Usage

decamod_globals(obj = NULL, data = NULL, priors = NULL)

Arguments

obj

Optional fitted model object to include in the globals list.

data

Optional model data list to include in the globals list.

priors

Optional prior list to include in the globals list.

Value

a list of objects and functions to be passed to sample_sparse_tmb when doing MCMC.