Learn R Programming

crawl (version 2.3.0)

argosDiag2Cov: Transform Argos diagnostic data to covariance matrix form

Description

Using this function the user can transform the Argos diagnostic data for location error into a form usable as a covariance matrix to approximate the location error with a bivariate Gaussian distribution. The resulting data.frame should be attached back to the data with cbind to use with the crwMLE function.

Usage

argosDiag2Cov(Major, Minor, Orientation)

Value

A data.frame with the following columns

ln.sd.x

The log standard deviation of the location error in the x coordinate

ln.sd.y

The log standard deviation of the location error in the x coordinate

rho

The correlation of the bivariate location error ellipse

Arguments

Major

A vector containing the major axis information for each observation (na values are ok)

Minor

A vector containing the minor axis information for each observation (na values are ok)

Orientation

A vector containing the angle orientation of the Major axis from North (na values are ok)

Author

Devin S. Johnson