Fit abundance model in BUGS.

fit_abundance_model_BUGS(abundance_inputs, bugs_model_file, bugs_directory)

Arguments

abundance_inputs

the object produced by prepare_abundance_inputs()

bugs_model_file

the filepath pointing to where your BUGS abundance model file is

bugs_directory

the filepath pointing to where your WinBUGS14/ directory is

Value

a BUGS object.

Details

This function runs the BUGS abundance model.