walk: Brownian motion on the 2d space

View source: R/toy_data.R

walkR Documentation

Brownian motion on the 2d space

Description

Brownian motion on the 2d space

Usage

walk(start_pos, quiescent = FALSE, sd_y = 0.5)

Arguments

start_pos

numeric vector of length 2 with current position of animal in x and y coords

quiescent

Whether the fly can walk (FALSE) or not (TRUE)

sd_y

standard deviation of the normal distribution governing the movement on y


shaliulab/idocr documentation built on June 1, 2025, 4:59 p.m.