Adds additional data required for the time-varying version of DABOM.

addTimeVaryData(
  filter_ch = NULL,
  start_date = NULL,
  end_date = NULL,
  strata_beg = "Mon",
  last_strata_min = 3
)

Arguments

filter_ch

filtered capture history as returned by the `filterDetections()` function in the `PITcleanr` package, which has then been verified by a user and all blank or NA `user_keep_obs` entries have been completed.

start_date

character vector of date (YYYYMMDD) when query should start

end_date

character vector of date (YYYYMMDD) when query should end

strata_beg

3 letter code for the day of the week each weekly strata should begin on. Default value is 'Mon'.

last_strata_min

minimum length (in days) for the final strata. Default value is 3.

Author

Kevin See

Examples

addTimeVaryData()
#> Error in addTimeVaryData(): !is.null(filter_ch) is not TRUE