Ecology and Evolution (Sep 2021)

R package for animal behavior classification from accelerometer data—rabc

  • Hui Yu,
  • Marcel Klaassen

DOI
https://doi.org/10.1002/ece3.7937
Journal volume & issue
Vol. 11, no. 18
pp. 12364 – 12377

Abstract

Read online

Abstract Increasingly, animal behavior studies are enhanced through the use of accelerometry. To allow translation of raw accelerometer data to animal behaviors requires the development of classifiers. Here, we present the “rabc” (r for animal behavior classification) package to assist researchers with the interactive development of such animal behavior classifiers in a supervised classification approach. The package uses datasets consisting of accelerometer data with their corresponding animal behaviors (e.g., for triaxial accelerometer data along the x, y and z axes arranged as “x, y, z, x, y, z,…, behavior”). Using an example dataset collected on white stork (Ciconia ciconia), we illustrate the workflow of this package, including accelerometer data visualization, feature calculation, feature selection, feature visualization, extreme gradient boost model training, validation, and, finally, a demonstration of the behavior classification results.

Keywords