Learn R Programming

NPCirc (version 3.1.2)

zebrafish: Zebrafish

Description

The data consists on measurements from an experimental study on larval zebrafish, which were startled by an imitating predator consisting on a robot disguised as an adult zebrafish. The dataset includes 502 observations corresponding to the escape directions of each fish and the angles in which the zebrafish perceive the threat.

Usage

data("zebrafish")

Arguments

Format

A data frame with 502 observations on the following 2 variables.

stimulus

A numeric vector containing the angles of stimulus (in radians)

res_angle

A numeric vector containing the directions of escape (in radians)

Details

Analysis of the zebrafish data with circular regression methods can be seen in Alonso-Pena et al. (2022).

References

Nair, A., Changsing, K., Stewart, W.J. and McHenry, M.J. (2017). Fish prey change strategy with the direction of a threat. Proceedings of the Royal Society B: Biological Sciences, 284, 20170393.

Alonso-Pena, M. and Crujeiras, R. M. (2022). Analizing animal escape data with circular nonparametric multimodal regression. Annals of Applied Statistics. (To appear).

Examples

Run this code
data(zebrafish)

Run the code above in your browser using DataLab