addTimeVaryData: Add Time-Varying Data

View source: R/addTimeVaryData.R

addTimeVaryDataR Documentation

Add Time-Varying Data

Description

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

Usage

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(s)

Kevin See

Examples

addTimeVaryData()

KevinSee/DABOM documentation built on April 4, 2024, 9:28 a.m.