Comprehensive Soil Quality Index Computation and Visualization
Overview
Provides a comprehensive, modular framework for computing the Soil Quality Index (SQI) using six established methods: Linear Scoring (Doran and Parkin, 1994, doi:10.2136/sssaspecpub35.c1), Regression-based (Masto et al., 2008, doi:10.1007/s10661-007-9697-z), Principal Component Analysis-based (Andrews et al., 2004, doi:10.2136/sssaj2004.1945), Fuzzy Logic, Entropy Weighting (Shannon, 1948, doi:10.1002/j.1538-7305.1948.tb01338.x), and TOPSIS (Hwang and Yoon, 1981, doi:10.1007/978-3-642-48318-9). Implements four variable scoring functions: more-is-better, less-is-better, optimum-value, and trapezoidal, following Karlen and Stott (1994, doi:10.2136/sssaspecpub35.c4). Includes automated Minimum Data Set selection via Principal Component Analysis with Variance Inflation Factor filtering (Kaiser, 1960, doi:10.1177/001316446002000116), one-way ANOVA with Tukey HSD post-hoc tests, leave-one-out sensitivity analysis, and publication-quality visualization using 'ggplot2'.
Initial Release
- Added
make_config()andvalidate_data()for data preparation. - Added four scoring functions:
score_more(),score_less(),score_optimum(),score_trapezoid(), andscore_custom(). - Added
score_all()dispatcher for batch variable scoring. - Added
select_mds()for PCA-based Minimum Data Set selection with VIF filtering. - Added six SQI indexing methods:
sqi_linear(),sqi_regression(),sqi_pca(),sqi_fuzzy(),sqi_entropy(),sqi_topsis(). - Added
sqi_compare()to run and tabulate all methods together. - Added
sqi_anova()with Tukey HSD post-hoc test. - Added
sqi_sensitivity()for leave-one-out sensitivity analysis.
Show all changes in 0.1.0Hide the rest of the changes in 0.1.0
- Added six visualization functions:
plot_scores(),plot_sqi(),plot_radar(),plot_pca_biplot(),plot_scoring_curves(),plot_sensitivity(). - Added hypothetical
soil_datadataset (100 observations, 14 variables, 5 land-use systems, 2 depths).
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK7 OK2026-04-21
Documentation
- Help pages
- 26 (1 internal)includes a package overview page
- Examples that run
- 100%25 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 69%
Downloads
Dependencies
Code & Tests
Datasets
People & History
- RR 4.6.0 released · 2026-04-24
- 0.1.0Latest2026-04-20 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-04-20
- Total releases
- 1 / 1 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 2.9 KB / 1 file
- Download size
- 141 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("SQIpro")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.