Adrian Correndo & Austin Pearce

The soiltestcorr package is a collection of functions intended to contribute to reproducible correlation analysis between crop relative yield (RY) and soil test values (STV). The package development stemmed from ongoing work with the Fertilizer Recommendation Support Tool (FRST) and the Feed the Future Innovation Lab for Collaborative Research on Sustainable Intensification (SIIL) projects.

This tutorial will introduce and demonstrate the currently available functions.

1. Installation

You can install the latest CRAN version of soiltestcorr with:


Alternatively, you can install the development version of soiltestcorr from GitHub with:

# install.packages("devtools")

Suggested packages are

library(ggplot2) # Plots
library(dplyr) # Data wrangling
library(tidyr) # Data wrangling
library(purrr) # Mapping

2. Available models in soiltestcorr:

2.1. Modified Arcsine-Log Calibration Curve

2.2. Cate & Nelson (1965)

2.3. Cate & Nelson (1971)

2.4. Linear-plateau

2.5. Quadratic-plateau

2.6. Mitscherlich

3. Publication in SoftwareX Journal:

4. Shinyapp: