Learn R Programming

sigloc (version 0.0.4)

findintersects: Calculate Bearing Intersections

Description

The function findintersects calculates the locations of the bearing intersections from radio telemetry studies. as.data.frame can be used to convert an object inheriting the class intersect into a data.frame. plot allows a graphical display of the calculated intersection locations.

Usage

findintersects(x)
"plot"(x, add, pch, cex, col, ...)
"print"(x, ...)
"as.data.frame"(x, row.names=NULL, optional=FALSE, ...)

Arguments

x
An object inhering the class receiver containing the X and Y location of the receiver, the bearing of the transmitter signal, and the identification of the point groupings. If data inherits the class data.frame or table, it should contain these columns under the headings 'Easting', 'Northing','Azimuth', and 'GID' respectively
add
A logical specification for whether to plot locations onto an existing plot window.
pch
Either an integer specifying a symbol or a single character to be used as the default in plotting points.
cex
A numerical value giving the amount by which plotting locations should be magnified to the default.
col
A specification for the default plotting color.
row.names
NULL or a character vector giving the row names for the data frame. Missing values are not allowed.
optional
Logical. If TRUE, setting row names and convering column names is optional.
...
Additional parameters to be passed to the generic function plot, print, and as.data.frame.

Value

findintersects returns an object belonging to the S4 class intersect

Details

This function uses data from radio telemetry studyies to compute the location of bearing intersections using basic algebra. These intersections are a key component of the maximum likelihood estimation (MLE) approach described in Lenth (1981) that is used to estimate the location of the transmitter signal in such studies.

See Also

locate for additional information on the class transmitter. as.receiver for additional information on the class receiver

Examples

Run this code
## Load the data and convert to desired format
data(bear)
bear<-as.receiver(bear)

## Calculate the location of bearing intersections
(cross<-findintersects(bear))

## Display results
plot(cross,xlab="Easting",ylab="Northing")

Run the code above in your browser using DataLab