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

`speed`

measures the speed between successive relocations of
animals, using objects of class `traj`

.

1 2 |

`x` |
an object of class |

`id` |
a character vector giving the identity of the animals for which the speed is to be computed |

`burst` |
a character vector giving the identity of the circuits
for which the speed is to be computed (see |

`date` |
a vector of class |

`units` |
a character string. It determines how the
speeds are computed. For example, if the coordinates are given in
meters, and if |

Returns a data frame with the following components:

`id` |
the identity of the animal |

`x` |
if the speed is computed between the relocation 1 and 2, the x coordinate of the relocation 1. |

`y` |
if the speed is computed between the relocation 1 and 2, the y coordinate of the relocation 1. |

`date` |
a vector of class |

`burst` |
the identity of the circuit |

`sp.x` |
the computed speed of the animal in the x direction |

`sp.y` |
the computed speed of the animal in the y direction |

`speed` |
the computed speed of the animal on the plane. |

`dt` |
the duration between the two relocations (in the units given
by the parameter |

The function `speed`

is deprecated. The class `ltraj`

computes the speeds automatically (see `ltraj`

).

Clement Calenge clement.calenge@oncfs.gouv.fr

1 2 3 4 5 6 7 8 9 10 11 12 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.