The trajectories can be plotted either in 2-D or in 3-D, using the
ggplot2 and plotly libraries. Additionally the
densities of the track properties can be visualized.
The plot2d() function takes either one or two arguments.
The second argument can be a single track data.frame or list of track
data.frames as for example the output of n.sim.cons.3d().
Also a DEM rasterLayer can be passed to the function.
plot2d(niclas, cerwList, DEM=dem,
titleText=paste("Steps: ", nrow(niclas), ", Niclas", sep=""))
#> Warning in CPL_crs_from_input(x): GDAL Message 1: +init=epsg:XXXX syntax is
#> deprecated. It might return a CRS with a non-EPSG compliant axis order.
#> Warning: `aes_string()` was deprecated in ggplot2 3.0.0.
#> ℹ Please use tidy evaluation idioms with `aes()`.
#> ℹ See also `vignette("ggplot2-in-packages")` for more information.
#> ℹ The deprecated feature was likely used in the eRTG3D package.
#> Please report the issue at <https://github.com/munterfi/eRTG3D/issues/>.
#> This warning is displayed once per session.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.
#> Warning: Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0.
#> ℹ Please use `linewidth` instead.
#> ℹ The deprecated feature was likely used in the eRTG3D package.
#> Please report the issue at <https://github.com/munterfi/eRTG3D/issues/>.
#> This warning is displayed once per session.
#> Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
#> generated.The plot3d() function takes either one or two arguments.
The second argument can be a single track data.frame or list of track
data.frames as for example the output of n.sim.cons.3d().
Also a DEM rasterLayer, which is plotted as a surface can be passed to
the function.
The function takes either one or two tracks. The second track can be
a list of tracks as for example the output of
n.sim.cons.3d(). In this case 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 auto differences in turn
angle, lift angle and step length are visualized.