This function can be run on objects produced by run_bt_spas_x(). It extracts estimates for pCap by week, aka weekly trap efficiency.

get_weekly_trap_efficiency(model_fit_object)

Arguments

model_fit_object

the object produced by running run_single_bt_spas_x() for a given site and run year.

Value

a tibble with the following variables:

  • week_index sequential identifier for weeks in the model

  • week the julian week associated with weekly trap efficiency estimate

  • parameter parameter name

  • mean_pCap mean predicted weekly trap efficiency

  • median_pCap median predicted weekly trap efficiency

  • sd_pCap standard deviation of predicted weekly trap efficiency

  • lcl_97_5 lower confidence limit (2.5%) of weekly predicted trap efficiency

  • ucl_97_5 upper confidence limit (97.5%) of weekly predicted trap efficiency