turnLiftStepHist {eRTG3D} | R Documentation |
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.
turnLiftStepHist(
turn,
lift,
step,
printDims = TRUE,
rm.zeros = TRUE,
maxBin = 25
)
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. |
A three dimensional histogram as data.frame
niclas <- track.properties.3d(niclas)[2:nrow(niclas), ]
turnLiftStepHist(niclas$t, niclas$l, niclas$d)