Extract parameter estimates from the pCap BUGS model object

extract_pCap_estimates(model_object, pCap_inputs)

Arguments

model_object

the BUGS object produced by running fit_pCap_model_BUGS().

pCap_inputs

a list of inputs for the abundance BUGS model, generated by running prepare_pCap_inputs()

Value

A table with the format:

  • model_name

  • site

  • run_year

  • week_fit

  • location_fit

  • parameter

  • statistic

  • value

  • srjpedata_version

Details

This function extracts parameter estimates from the pCap BUGS model and returns them in a tidy data frame format.