Pontificia Universidad Católica de Chile Pontificia Universidad Católica de Chile
Acevedo S., Willaredt M., O’Brien L., Giraldo C., Vega A., Contreras C., Pasten P. (2025)

ggsoiltexture: An R package based on ggplot2 for soil texture data visualization

Revista : SoftwareX
Volumen : 31
Tipo de publicación : ISI Ir a publicación

Abstract

The soil science community is increasingly adopting R for reproducible data analysis and visualization. Soil texture data visualized in ternary plots is a key component in soil physics, and challenging to plot in a clear way while maintaining consistent data visualization components. reproducible functions in R can lead to clearer and reproducible methods for plotting it. Embracing these principles, the authors developed ggsoiltexture, an R package leveraging the ggplot2 framework to create customizable and publication-quality soil texture plots. The package demonstrated accurate and visually appealing representations of soil texture classifications through case studies using already-published data.