Learn R Programming

VTrack (version 1.11)

ExtractUniqueValues: Extract Transmitters Found, or Receivers and Stations Used

Description

Extract a list of the transmitters located, receivers used or stations used during the study.

Usage

ExtractUniqueValues(sInputFile,iFieldToExtract)

Arguments

sInputFile
a data frame containing VTrack-transformed tracking data
iFieldToExtract
numeric. Column number of sInputFile relating to field of interest (TRANSMITTERID = 2; RECEIVERID = 5; STATIONNAME = 6)

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 list of transmitters from the crocs dataset
ExtractUniqueValues(Vcrocs,2)

# Extract list of receivers from the crocs dataset
ExtractUniqueValues(Vcrocs,5)

Run the code above in your browser using DataLab