argosDiag2Cov: Transform Argos diagnostic data to covariance matrix form

View source: R/argosDiag2Cov.R

argosDiag2CovR Documentation

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)

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)

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

Author(s)

Devin S. Johnson


crawl documentation built on Oct. 10, 2022, 1:07 a.m.