Learn R Programming

VTrack (version 1.11)

ExtractTagSummary: Function to Extract Summary Data for each Transmitter in the File

Description

This function extracts summary data for each transmitter in the File

Usage

ExtractTagSummary(sInputFile)

Arguments

sInputFile
a data frame containing VTrack archive data, this archive is created using the ReadInputData function

Value

TRANSMITTERID
a character vector containing the factory assigned transmitter tag id
FIRSTDETECT
a vector of class POSIXct of the time of the first location fix
LASTDETECT
a vector of class POSIXct of the time of the last location fix
NODETECTS
a numeric vector giving the number of transmitter location fixes
STARTREC
a character vector containing the first receiver at which the transmitter was detected
ENDREC
a character vector containing the last receiver at which the transmitter was detected
NORECS
a numeric vector giving the number of unique receivers at which the transmitter was detected

Details

distances are given in meters

Examples

Run this code
# Load the crocodile data in the VTrack 1.0 archive format
#  adding 10 hours to convert from UTC 
data(crocs)
Vcrocs <- ReadInputData(infile=crocs,
                        iHoursToAdd=10,
                        fAATAMS=FALSE,
                        fVemcoDualSensor=FALSE,
                        dateformat = NULL,
                        sVemcoFormat='1.0')

# Extract summary table of transmitters in the file
ExtractTagSummary(Vcrocs)

Run the code above in your browser using DataLab