Usage Arguments Details Value Examples

1 | ```
statistics(object, add=TRUE)
``` |

`object` |
The trajectory object |

`add` |
If \constTRUE, the statistics will be added to the object's data attribute. |

The statistics computed are: displacement in the x and y dimensions and total displacement since last observation, total displacement since start of burst, direction of relocation and turning angle at this observation.

A `data.frame`

containing the statistics for each relocation, or a copy of `object`

with the statistics added.

1 2 3 | ```
data("vervet_monkeys", package="moveBB")
#statistics(monkey.tr)
``` |

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.