marker_tag: Summarize marker tag detections from Oregon RFID antenna...

View source: R/marker_tag.R

marker_tagR Documentation

Summarize marker tag detections from Oregon RFID antenna readers

Description

Creates a filtered dataset containing only detection data from a user-specified marker tag (unique tag number).

Usage

marker_tag(x, tag, gap)

Arguments

x

antenna data compiled using import_ORFID or join_multireader_data.

tag

marker tag identification (character object).

gap

minimum time gap in seconds between detections (optional).

Details

A column, GAP, is created that calculates the time gap (in seconds) between subsequent detections. If GAP is omitted, all detection from the marker tag are retained. If a minimum time gap is specified, only detections with a larger time gap than the specified minimum are retained. This allows the user to identify periods when marker tags were not being detected as frequently as expected.

Value

Returns a tibble object.

Author(s)

Hugo Marques <biohmarques@gmail.com>

See Also

import_ORFID for importing data files from Oregon RFID ORMR and ORSR antenna readers.

join_multireader_data for combining data from Oregon RFID ORMR and ORSR antenna readers into a multi-reader array.

Examples


# Create a list containing compiled reader data:
readers <- list(reader_1, reader_2, reader_3)

# Join data into a multi-reader array:
PIT_data <- join_multireader_data(readers)

# Summarize marker tag data
marker_tag(PIT_data, "0000_000000004978")

# Summarize marker tag data when the time gap between detections was greater or equal to 10 minutes.
marker_tag(PIT_data, "0000_000000004978", gap = 600)

hugo-marques/ORFID documentation built on Jan. 10, 2023, 6:26 a.m.