step_zigzag: Zigzag trajectory step function

View source: R/trajectory.R

step_zigzagR Documentation

Zigzag trajectory step function

Description

Zigzag trajectory step function

Usage

step_zigzag(moment, time_next, settings, ttt = c(0.5, 1.5), syncstart = F)

Arguments

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

Value

Another moment - position tibble with extra columns 'direction', 'speed' and 'ttt' corresponding to time_next

See Also

Other step_functions: step_direct(), step_vonmises(), step_waitandmove()


jirilukavsky/motrack documentation built on Jan. 30, 2023, 5:04 a.m.