statistics: Collect statistics about relocations

Usage Arguments Details Value Examples

Usage

1
statistics(object, add=TRUE)

Arguments

object

The trajectory object

add

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

Details

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.

Value

A data.frame containing the statistics for each relocation, or a copy of object with the statistics added.

Examples

1
2
3
data("vervet_monkeys", package="moveBB")

#statistics(monkey.tr)

moveBB documentation built on May 2, 2019, 5:50 p.m.

Related to statistics in moveBB...