Description Usage Arguments Value
View source: R/filter-lex-data.R
Filters lex data by capture and recapture. Drops all recaptures and detections after first coded harvest and ensures coded as tags removed.
1 2 3 4 5  | filter_lex_data(data, capture = data$capture, recapture = data$recapture,
  sections = stats::setNames(as.list(levels(data$section@data$Section)),
  levels(data$section@data$Section)), station = data$station,
  start_date = min(lubridate::date(capture$DateTimeCapture)),
  end_date = max(lubridate::date(capture$DateTimeTagExpire)))
 | 
data | 
 The lex_data object.  | 
capture | 
 A data frame of the capture data to use.  | 
recapture | 
 A data frame of the recapture data to use.  | 
sections | 
 A named list of sections to combine (or drop if excluded).  | 
station | 
 A data frame of stations.  | 
start_date | 
 A date of the start.  | 
end_date | 
 A date of the end.  | 
A lex_data object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.