Data balancing and scaling analysis
balancR is an R package which provides tools for balancing imbalanced data in scaling analyses using bootstrapping, and for comparing regression coefficients (slopes and intercepts) between original and balanced samples.
📦 Installation
The package can be easily installed from GitHub:
install.packages("devtools")
devtools::install_github("MichaletzLab/balancR")
🧪 Example usage
➡️ See the full example in the Introduction to balancR vignette.
🧠 Citation
If you use balancR, please cite:
Simovic M, Michaletz ST (2025). “Harnessing the Full Power of Data to Characterise Biological Scaling Relationships.” Global Ecology and Biogeography, 34(2), e70019. https://doi.org/10.1111/geb.70019.
citation("balancR")
📫 Contributing
We welcome feedback, suggestions, and contributions.
📨 Submit issues and pull requests