R/data.R

#' Dataset 1
#'
#' @description Example dataset containing hypothetical pairs of soil test value (STV)
#' and relative yield (RY). 
#'
#' @format this data frame has 137 rows and the following 2 columns:
#' \describe{
#'   \item{STV}{soil test value}
#'   \item{RY}{relative yield, %}
#'  }
#' @source \doi{10.7910/DVN/NABA57}
"data_test"

#' Dataset 2
#'
#' @description Example dataset containing real data reported by Cate & Nelson (1971) from Freitas et al. (1966). 
#' Soil test potassium values (STK) and relative yield as percentage (RY). 
#'
#' @format this data frame has 24 rows and the following 2 columns:
#' \describe{
#'   \item{RY}{relative yield, %}
#'   \item{STK}{soil test potassium, ppm}
#'  }
#' @source Freitas et al. (1966) cited and used by Cate & Nelson (1971). Soil Sci. Soc. Am. Proc. 35:658-659 
"freitas1966"

Try the soiltestcorr package in your browser

Any scripts or data that you put into this service are public.

soiltestcorr documentation built on July 3, 2024, 5:08 p.m.