turnLiftStepHist: Three dimensional histogram

View source: R/core3D.R

turnLiftStepHistR 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)

munterfinger/eRTG3D documentation built on March 25, 2022, 1:22 a.m.