turnLiftStepHist {eRTG3D}R Documentation

Three dimensional histogram

Description

Derives a three dimensional distribution of a turn angle, lift angle and step length, using the Freedman–Diaconis rule for estimating the number of bins.

Usage

turnLiftStepHist(
  turn,
  lift,
  step,
  printDims = TRUE,
  rm.zeros = TRUE,
  maxBin = 25
)

Arguments

turn

numeric vector of turn angles

lift

numeric vector of lift angles

step

numeric vector of step lengths

printDims

logical: should dimensions of tld-Cube be messaged?

rm.zeros

logical: should combinations with zero probability be removed?

maxBin

numeric scalar, maximum number of bins per dimension of the tld-cube.

Value

A three dimensional histogram as data.frame

Examples

niclas <- track.properties.3d(niclas)[2:nrow(niclas), ]
turnLiftStepHist(niclas$t, niclas$l, niclas$d)

[Package eRTG3D version 0.7.0 Index]