step_zigzag | R Documentation |
Zigzag trajectory step function
step_zigzag(moment, time_next, settings, ttt = c(0.5, 1.5), syncstart = F)
moment |
Position tibble with extra columns 'direction' and 'speed' |
time_next |
Next time step to predict |
settings |
list with basic properties |
ttt |
Time-to-turn - time when the object should pick new direction |
syncstart |
Logical, if time-to-turn should be synchronized when it is generated for the first time |
Another moment - position tibble with extra columns 'direction', 'speed' and 'ttt' corresponding to time_next
Other step_functions:
step_direct()
,
step_vonmises()
,
step_waitandmove()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.