get.section.densities.3d {eRTG3D} | R Documentation |

## Extract tldCube and autodifferences functions from track sections

### Description

Creates a list consisting of the 3 dimensional probability distribution cube for turning angle, lift angle and step length (turnLiftStepHist) as well as the uni-dimensional distributions of the differences of the turning angles, lift angles and step lengths with a lag of 1 to maintain minimal level of autocorrelation in each of the terms.

### Usage

```
get.section.densities.3d(
trackSections,
gradientDensity = TRUE,
heightDistEllipsoid = TRUE,
DEM = NULL,
maxBin = 25
)
```

### Arguments

`trackSections` |
list of track sections got by the track.split.3d function |

`gradientDensity` |
logical: Should a distribution of the gradient angle be extracted and later used in the simulations? |

`heightDistEllipsoid` |
logical: Should a distribution of the flight height over ellipsoid be extracted and later used in the sim.cond.3d()? |

`DEM` |
a raster containing a digital elevation model, covering the same extent as the track sections |

`maxBin` |
numeric scalar, maximum number of bins per dimension of the tld-cube (turnLiftStepHist) |

### Value

A list containing the tldCube and the autodifferences functions (and additionally the height distribution function)

### Examples

```
get.section.densities.3d(list(niclas[1:10, ], niclas[11:nrow(niclas), ]))
```

*eRTG3D*version 0.7.0 Index]