Wait and move step function
step_waitandmove.Rd
Step function for wait-and-move movement pattern
Arguments
- moment
Position tibble with extra columns `direction` and `speed`
- time_next
Next time step to predict
- settings
List with basic properties
- move_time
Range of move phase duration
- wait_time
Range of wait phase duration
- wait_prob
Probability of waiting
- syncstart
Logical, if time-to-change should be synchronized when it is generated for the first time
Value
Another moment - position tibble with extra columns `direction`, `speed`, `speed_scale`, `ttc` and `mov_state`
Details
Using this step function, objects changes between two states - moving and waiting. After each state, new state is sampled with given proabability.
When probability of waiting is set to zero, objects move in a same way as in step_zigzag step function
See also
Other step_functions:
step_direct()
,
step_vonmises()
,
step_zigzag()