Description Usage Arguments Value Author(s) See Also Examples

Given a set of cartesian coordinates representing an object's trajectory, this function returns approximated headings computed as the direction of vectors between successive points.

1 |

`x` |
A vector of x (or longitude) coordinates corresponding to a single animal trajectory. |

`y` |
A vector of y (or latitude) coordinates corresponding to a single animal trajectory. |

`geo` |
A logical value indicating whether the locations are defined by geographic coordinates (pairs of longitude/latitude values). Default: FALSE. |

A vector of the same length as x and y corresponding to approximated headings along a [x, y] trajectory.

Simon Garnier, [email protected]

1 | ```
# TODO
``` |

swarm-lab/swaRm documentation built on June 22, 2018, 5:21 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.