View source: R/navr-plot-elements.R
geom_navr_path_rotation | R Documentation |
Adds rotational information to the path data
geom_navr_path_rotation(obj, axis = "x", downsample = 10, length = 1, ...)
obj |
navr object |
axis |
character designating which rotation axis to plot. Needs to follow the navr specifications. e.g. if "z", the obj needs to have "rotation_z" column |
downsample |
For very frequent data, this function would return several thousands geoms. Therefore it is recommended to only sample each nth observation. |
length |
arrow length |
... |
plots arrows pointint in ditational direction. Uses geom_navr_direction
function to plot each rotation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.