findintersects: Calculate Bearing Intersections

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/sigloc.R

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
findintersects(x)

## S3 method for class 'intersect'
plot(x, add, pch, cex, col, ...)

## S3 method for class 'intersect'
print(x, ...)

## S3 method for class 'intersect'
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.

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.

Value

The function findintersects returns an object belonging to the S4 class intersect

Author(s)

Sergey S. Berg berg1546@umn.edu

See Also

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

Examples

1
2
3
4
5
6
7
8
9
## 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")

Example output

Loading required package: nleqslv
Loading required package: ellipse
   GID        X       Y
1    1 533270.1 5173335
2    1 533449.4 5173325
3    1 533270.1 5173335
4    1 533418.3 5173235
5    1 533449.4 5173325
6    1 533418.3 5173235
7    2 533626.7 5172567
8    2 533643.0 5172580
9    2 533626.7 5172567
10   2 533652.3 5172572
11   2 533643.0 5172580
12   2 533652.3 5172572
13   3 532396.3 5172483
14   3 532355.5 5172431
15   3 532396.3 5172483
16   3 532274.4 5172543
17   3 532355.5 5172431
18   3 532274.4 5172543
19   4 532437.5 5171216
20   4 532836.2 5171475
21   4 532437.5 5171216
22   4 532331.7 5172222
23   4 532836.2 5171475
24   4 532331.7 5172222

sigloc documentation built on May 29, 2017, 4:30 p.m.