plot3d.densities: Density plots of turn angle, lift angle and step length

Description Usage Arguments Value Examples

View source: R/plot3D.R

Description

The function takes either one track or two tracks. The second track can be a list of tracks (eg. the output of n.sim.cond.3d), Then the densities of turn angle, lift angle and step length of all the simulations is taken. Additionally the autodifferences parameter can be set to true, then the densities of the autodifferences in turn angle, lift angle and step length are visualized.

Usage

1
2
3
4
5
6
plot3d.densities(
  track1,
  track2 = NULL,
  autodifferences = FALSE,
  scaleDensities = FALSE
)

Arguments

track1

a list containing a data.frame with x,y,z coordinates or a data.frame

track2

a list containing a data.frame with x,y,z coordinates or a data.frame

autodifferences

logical: should the densities of the autodifferences in turn angle, lift angle and step length are visualized.

scaleDensities

logical: should densities be scaled between 0 and 1, then sum of the area under the curve is not 1 anymore!

Value

A ggplot2 object.

Examples

1

munterfi/eRTG3D documentation built on Feb. 25, 2022, noon