Extracts the MCMC posteriors of selected parameters from a STADEM model, and formats them in a long format.

extractPost(stadem_mod = NULL, param_nms = "X.new.wild")

Arguments

stadem_mod

The result of `runSTADEMmodel()`. An MCMC.list, or jagsUI object that can be coerced to an MCMC.list.

param_nms

Character vector with the name of the parameter corresponding to total escapement. Default is focused on wild fish, `X.new.wild`.

Author

Kevin See

Examples

extractPost()
#> Error in extractPost(): !is.null(stadem_mod) is not TRUE