Skip to contents

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:

install.packages("soiltestcorr")

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

# install.packages("devtools")
devtools::install_github("adriancorrendo/soiltestcorr")

Suggested packages are

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