Skip to content

b-c-r/CRITTERstatistics

Repository files navigation

Habitat complexity reduces feeding strength of freshwater predators (CRITTER) — Supplemental Statistics Report

DOI

Summary

This repository hosts the statistics report that is supplementing our peer-reviewed journal article by Aranbarri et al. (2025a) investigating the effect of habitat complexity on the feeding functional response of two freshwater invertebrate predators. Find the latest version of our supplemental statistical report as PDF on Zenodo. Find below information on related works and the location of the data and code.

License

This report is published under the Creative Commons BY 4.0 license. The underlying code is licensed under the GNU General Public License 3.

How to cite this report

If you want to cite our report, please use on of the following options:

General citation:

Rall, B.C., Aranbarri, M., Flores, L., Guzmán, I. de, Larrañaga, A., & Reiss, J.(2025): Habitat complexity reduces the feeding strength of freshwater predators (CRITTER) — Supplemental Statistics Report. Zenodo. https://doi.org/10.5281/zenodo.14898819

Current version:

Rall, B.C., Aranbarri, M., Flores, L., de Guzmán, I., Larrañaga, A., and Reiss, J. (2025): Habitat complexity reduces feeding strength of freshwater predators (CRITTER) — Supplemental Statistics Report (v1.0.0). Zenodo. https://doi.org/10.5281/zenodo.17250079

Former versions:

Rall, B.C., Aranbarri, M., Flores, L., de Guzmán, I., Larrañaga, A., and Reiss, J. (2025): Habitat complexity reduces feeding strength of freshwater predators (CRITTER) — Supplemental Statistics Report (v0.1.2). Zenodo. https://doi.org/10.5281/zenodo.15348995

Rall, B.C., Aranbarri, M., Flores, L., de Guzmán, I., Larrañaga, A., and Reiss, J. (2025): Complexity reduces feeding strength of freshwater predators (CRITTER) - Supplemental Statistics Report (v0.1.1). Zenodo. https://doi.org/10.5281/zenodo.14907885

Rall, B.C., Aranbarri, M., Flores, L., de Guzmán, I., Larrañaga, A., and Reiss, J. (2025): Complexity reduces feeding strength of freshwater predators (CRITTER) - Supplemental Statistics Report (v0.1.0). Zenodo. https://doi.org/10.5281/zenodo.14898820

Please consider to also cite our main article:

Aranbarri, M., Flores, L., de Guzmán, I., Larranaga, A., Rall, B.C., and Reiss, J. (2025): Habitat complexity reduces feeding strength of freshwater predators. Ecology and Evolution, e72258. https://doi.org/10.1002/ece3.72258

Authors

  • Björn C. Rall (0000-0002-3191-8389)
    • bjoern.rall@uni-konstanz.de
    • Aquatic Ecology and Evolution, Department of Biology, University of Konstanz, Universitätsstraße 10, 78464 Konstanz, Germany
  • Mireia Aranbarri (0009-0001-3506-0914)
    • mireia.arambarri@ehu.eus
    • Laboratory of Stream Ecology, Department of Plant Biology and Ecology, Faculty of Science and Technology, University of the Basque Country, UPV/EHU PO Box 644, 48080 Bilbao, Spain
  • Lorea Flores (0000-0002-0082-4072)
    • lflorescompains@gmail.com
    • Laboratory of Stream Ecology, Department of Plant Biology and Ecology, Faculty of Science and Technology, University of the Basque Country, UPV/EHU PO Box 644, 48080 Bilbao, Spain
  • Ioar de Guzmán (0000-0001-8894-8477)
    • mirenioar.deguzman@ehu.eus
    • Laboratory of Stream Ecology, Department of Plant Biology and Ecology, Faculty of Science and Technology, University of the Basque Country, UPV/EHU PO Box 644, 48080 Bilbao, Spain
    • INRAE, UMR 1224, Ecologie Comportementale et Biologie des Populations de Poissons, Aquapôle, quartier Ibarron, 64310 Saint-Pée sur Nivelle, France
  • Aitor Larrañaga (0000-0002-0185-9154)
    • aitor.larranagaa@ehu.eus
    • Laboratory of Stream Ecology, Department of Plant Biology and Ecology, Faculty of Science and Technology, University of the Basque Country, UPV/EHU PO Box 644, 48080 Bilbao, Spain
  • Julia Reiss (0000-0002-3740-0046)

Related Works

Code and Data

We wrote our report in R Markdown (Allaire et al., 2025; Xie et al., 2018, 2020) and bookdown (Xie, 2016, 2025a). The R Markdown script imports the data and the required functions directly from our GitHub repositories CRITTERdata and CRITTERcode, respectively (Flores et al., 2025; Rall et al., 2025a). You will find an in-depth code description in the README of our CRITTERcode repository. You will find laboratory methods in our peer-reviewed journal article (Aranbarri et al., 2025a).

Required Packages

If you want to knit this report for yourself, you need to install:

  • bbmle (Bolker & R. Development Core Team, 2023)
  • bookdown (Xie, 2025a)
  • doParallel (Microsoft & Weston, 2022a)
  • dplyr (Wickham et al., 2023)
  • emdbook (Bolker, 2025)
  • foreach (Microsoft & Weston, 2022b)
  • frair (Pritchard et al., 2017; Pritchard, 2025)
  • here (Müller, 2025)
  • kableExtra (Zhu, 2024)
  • knitr (Xie, 2025b)
  • lhs (Carnell, 2024)
  • MASS (Ripley & Venables, 2025)
  • odin (FitzJohn, 2025)
  • png (Urbanek, 2022)
  • purrr (Wickham & Henry, 2025)
  • RCurl (CRAN Team & Temple Lang, 2025)
  • sessioninfo (Csárdi et al., 2025)
  • supportR (Lyon, 2024)
  • tinytex (Xie & Posit Software, PBC, 2025)

We used TinyTex to create the pdf report. Please follow their installation guidelines on their homepage. You can, of course, use another LaTeX distribution, but we only tested if the R Markdown script works using TinyTex.

Funding Information

  • Mireia Aranbarri was funded by the Investigo Programm funded by the NextGenerationEU initiative.
  • Lorea Flores was funded by a grant by the Spanish Ministry of Education and Culture.
  • Ioar de Guzmán was funded by the Spanish Ministry of Science, Innovation and Universities (TED2021-129966B-C31) and by the University of the Basque Country (POSTUPV24/47).
  • Julia Reiss was supported by a Royal Society of London Starting Grant.
  • Björn C. Rall was funded by the German Research Foundation (DFG) via the DynaSym research unit (FOR 5726).

References

Allaire, J., Xie, Y., Dervieux, C., McPherson, J., Luraschi, J., Ushey, K., Atkins, A., Wickham, H., Cheng, J., Chang, W., & Iannone, R. (2025). rmarkdown: Dynamic documents for R. https://doi.org/10.32614/CRAN.package.rmarkdown

Aranbarri, M., Flores, L., de Guzmán, I., Larrañaga, A., Rall, B. C., & Reiss, J. (2025a). Habitat complexity reduces feeding strength of freshwater predators. Ecol Evol, e72258. https://doi.org/10.1002/ece3.72258

Aranbarri, M., Flores, L., de Guzmán, I., Larrañaga, A., Rall, B. C., & Reiss, J. (2025b). Habitat complexity reduces feeding strength of freshwater predators (2025.02.22.639633). bioRxiv. https://doi.org/10.1101/2025.02.22.639633

Bolker, B. M. (2025). emdbook: Support functions and data for "Ecological models and data". https://doi.org/10.32614/CRAN.package.emdbook

Bolker, B. M., & R. Development Core Team. (2023). bbmle: Tools for general maximum likelihood estimation. https://doi.org/10.32614/CRAN.package.bbmle

Carnell, R. (2024). lhs: Latin hypercube samples. https://doi.org/10.32614/CRAN.package.lhs

CRAN Team, & Temple Lang, D. (2025). RCurl: General network (HTTP/FTP/...) client interface for R. https://doi.org/10.32614/CRAN.package.RCurl

Csárdi, G., Wickham, H., Chang, W., Flight, R., Müller, K., & Hester, J. (2025). sessioninfo: R session information. https://doi.org/10.32614/CRAN.package.sessioninfo

FitzJohn, R. (2025). odin: ODE generation and integration. https://doi.org/10.32614/CRAN.package.odin

Flores, L., Reiss, J., Larrañaga, A., Rall, B. C., Aranbarri, M., & Guzmán, I. de. (2025). Habitat complexity reduces feeding strength of freshwater predators (CRITTER) — Data. Zenodo. https://doi.org/10.5281/zenodo.14891980

Lyon, N. J. (2024). supportR: Support functions for wrangling and visualization. https://doi.org/10.32614/CRAN.package.supportR

Microsoft, & Weston, S. (2022a). doParallel: Foreach parallel adaptor for the ’parallel’ package. https://doi.org/10.32614/CRAN.package.doParallel

Microsoft, & Weston, S. (2022b). foreach: Provides foreach looping construct. https://doi.org/10.32614/CRAN.package.foreach

Müller, K. (2025). here: A simpler way to find your files. https://doi.org/10.32614/CRAN.package.here

Pritchard, D. W. (2025). frair: Tools for functional response analysis. https://doi.org/10.32614/CRAN.package.frair

Pritchard, D. W., Paterson, R. A., Bovy, H. C., & Barrios-O’Neill, D. (2017). frair: An R package for fitting and comparing consumer functional responses. Methods Ecol. Evol., 8(11), 1528–1534. https://doi.org/10.1111/2041-210X.12784

Rall, B. C., Aranbarri, M., Flores, L., de Guzmán, I., Larrañaga, A., & Reiss, J. (2025a). Habitat complexity reduces feeding strength of freshwater predators (CRITTER) — Code. Zenodo. https://doi.org/10.5281/zenodo.14894598

Rall, B. C., Aranbarri, M., Flores, L., de Guzmán, I., Larrañaga, A., & Reiss, J. (2025b). Habitat complexity reduces feeding strength of freshwater predators (CRITTER) — Supplemental Statistics Report. Zenodo. https://doi.org/10.5281/zenodo.14898819

Ripley, B., & Venables, B. (2025). MASS: Support functions and datasets for Venables and Ripley’s MASS. https://doi.org/10.32614/CRAN.package.MASS

Urbanek, S. (2022). png: Read and write PNG images. https://doi.org/10.32614/CRAN.package.png

Wickham, H., François, R., Henry, L., Müller, K., & Vaughan, D. (2023). dplyr: A grammar of data manipulation. https://doi.org/10.32614/CRAN.package.dplyr

Wickham, H., & Henry, L. (2025). purrr: Functional programming tools. https://doi.org/10.32614/CRAN.package.purrr

Xie, Y. (2016). bookdown: Authoring books and technical documents with R Markdown. Chapman and Hall/CRC. https://bookdown.org/yihui/bookdown

Xie, Y. (2025a). bookdown: Authoring books and technical documents with R Markdown. https://doi.org/10.32614/CRAN.package.bookdown

Xie, Y. (2025b). knitr: A general-purpose package for dynamic report generation in R. https://doi.org/10.32614/CRAN.package.knitr

Xie, Y., Allaire, J. J., & Grolemund, G. (2018). R Markdown: The definitive guide. Chapman and Hall/CRC. https://bookdown.org/yihui/rmarkdown

Xie, Y., Dervieux, C., & Riederer, E. (2020). R Markdown cookbook. Chapman and Hall/CRC. https://bookdown.org/yihui/rmarkdown-cookbook

Xie, Y., & Posit Software, PBC. (2025). tinytex: Helper functions to install and maintain TeX Live, and compile LaTeX documents. https://doi.org/10.32614/CRAN.package.tinytex

Zhu, H. (2024). kableExtra: Construct complex table with ’kable’ and pipe syntax. https://doi.org/10.32614/CRAN.package.kableExtra

About

This report repository is a supplement to Aranbarri et al. (2025) in which we investigate the effect of habitat complexity on the feeding functional response of two freshwater invertebrate predators.

Resources

License

CC-BY-4.0, GPL-3.0 licenses found

Licenses found

CC-BY-4.0
LICENSE
GPL-3.0
LICENSE.md

Stars

Watchers

Forks

Packages

 
 
 

Contributors