Learn R Programming

VTrack (version 1.11)

ExtractRecSummary: Extended Function to Extract Summary Data for each Receiver in the File

Description

This function extracts summary data for each receiver in the file

Usage

ExtractRecSummary(sInputFile)

Arguments

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

Value

RECEIVERID
a character vector containing the factory assigned receiver serial number
STATIONNAME
a character vector containing the user defined station name
FIRSTDETECT
a vector of class POSIXct of the time of the first location fix
NODETECTS
a numeric vector giving the number of transmitter location fixes
LASTDETECT
a vector of class POSIXct of the time of the last location fix
NOTRANSMITTER
a numeric vector giving the number of unique transmitter ids detected

Details

duration given in days.

Examples

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

# Extract summary table of receivers in the file
ExtractRecSummary(Vcrocs)

Run the code above in your browser using DataLab