Learn R Programming

VTrack (version 1.21)

ExtractStationSummary: Extended Function to Extract Summary Data for each Station Name in the File

Description

This function extracts summary data for each station name in the file

Usage

ExtractStationSummary(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
# NOT RUN {
data(crocs)
# Load the crocodile data in the VTrack archive format
#  adding 10 hours to convert from UTC 
Vcrocs <- ReadInputData(infile=crocs,
                        iHoursToAdd=10,
                        dateformat = NULL,
                        sVemcoFormat='1.0')

# Extract summary table of receiver sstations in the file
ExtractStationSummary(Vcrocs)
# }

Run the code above in your browser using DataLab