geom_navr_path_rotation: Adds rotational information to the path data

View source: R/navr-plot-elements.R

geom_navr_path_rotationR Documentation

Adds rotational information to the path data

Description

Adds rotational information to the path data

Usage

geom_navr_path_rotation(obj, axis = "x", downsample = 10, length = 1, ...)

Arguments

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

...

Details

plots arrows pointint in ditational direction. Uses geom_navr_direction function to plot each rotation


hejtmy/navr documentation built on March 3, 2023, 5:24 p.m.