Estimation of Animal Body Condition Indices

Calculates animal body condition indices from measurements of body size and mass. Methods include residual-based ordinary least squares (OLS), the scaled mass index (SMI) using standardised major axis (SMA) regression, and SMI using robust SMA regression. Visualisation tools support comparison of indices and assessment of the suitability of these approaches. See Krebs and Singleton (1993) , Peig and Green (2009) , and Warton et al. (2012) .


bodycon

R-CMD-check

bodycon is an R package for calculating commonly used body condition indices in wildlife ecology research. In this research field, an individual's fitness traits, like reproduction and survival, are important measures of individual performance and health. However, direct measures of fitness can be impractical to collect in the field due to financial or logistical constraints. So, in these cases, animal ecologists often rely on proxies of individual fitness, such as body condition.

One widely used approach to estimating body condition is to relate body mass to a measure of body size, but this can be calculated in a variety of ways. bodycon contains functions for a variety of methods of estimating body condition indices, including residuals from an ordinary least squares (OLS) regression, the scaled mass index (SMI) using standardised major axis (SMA) regression, and the SMI using robust SMA regression.

Installation

The released version of bodycon can be installed from CRAN with:

install.packages("bodycon")

The development version of bodycon can be installed from GitHub with:

remotes::install_github("RBGLabs/bodycon")

Getting Started

See the package vignette for an introduction to bodycon, including examples of the included body condition index methods and approaches for evaluating their suitability for your data.

Citing bodycon

If you make use of bodycon in your research, please cite:

Riley J, Kar F (2026). bodycon: Estimation of Animal Body Condition Indices. R package version 0.1.0. https://doi.org/10.5281/zenodo.23066174

You can also obtain the citation directly in R:

citation("bodycon")

Find a Bug?

Thank you for catching it! Please open an issue on GitHub and let us know about it. We will try to get to it as soon as we can.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("bodycon")

0.2.1 by Julia Riley, 12 hours ago


https://rbglabs.github.io/bodycon/, https://github.com/RBGLabs/bodycon


Report a bug at https://github.com/RBGLabs/bodycon/issues


Browse source code at https://github.com/cran/bodycon


Authors: Julia Riley [aut, cre, cph] (ORCID: , Fonti Kar [aut, cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, ggnewscale, ggplot2, rlang, scales, smatr, stats, tibble

Suggests knitr, readr, rmarkdown, testthat, usethis, vdiffr


See at CRAN