Skip to contents

[Experimental]

Calculate summary statistics for tracks

Usage

calculate_statistics(
  data,
  measures = "median_mad",
  straightness = c("A", "B", "C", "D")
)

Arguments

data

A kinematics data frame

measures

Measures of central tendency and dispersion. Options are median_mad (default) and mean_sd. See description for more information.

straightness

Which method to calculate path straightness. Choose between "A" (default), "B", "C"... or a combination (e.g. "c("A","B")"). See description for details about the different calculations.

Value

An data frame data frame with kinematics calculated