Validate prior specification for an integrated spawner-recruit model.
stan_prior.Rd
Takes an optional user-specified prior function and otherwise returns default
prior parameters for the given stan_model
. This function is for internal use.
Value
A named array of user-specifiable prior parameters whose elements are part of the
data
argument passed to rstan::sampling()
when fitting salmonIPM models.
The dist
attribute is a character string giving the name of the distribution.