rebound: Generate a toy dataset for testing purposes Rebound movement...

View source: R/toy_data.R

reboundR Documentation

Generate a toy dataset for testing purposes Rebound movement if the animal hits the minimum of maximum of the dimension

Description

Useful so movement magnitude is not lost due to wall efect

Usage

rebound(x, minn, maxx)

Arguments

x

Current position on either dimension (length 1)

minn

Minimum value on that dimension

maxx

Maximum value on that dimension

Value

Corrected position with min/max offset rebounded into allowed bounds


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