R/data-salinity.R

#' Salinity in Bimini Lagoon, Bahamas
#'
#' Data collected at three different water masses in the Bimini Lagoon, Bahamas.
#'
#'
#' @format A data frame with 30 rows and 2 variables.
#' \describe{
#'   \item{site_number}{Location where measurements were taken.}
#'   \item{salinity_ppt}{Salinity value in parts per thousand.}
#' }
#' @source Till, R. (1974) Statistical Methods for the Earth Scientist: An Introduction. London: Macmillon, 104.
#'
#' @examples
#' library(ggplot2)
#' library(broom)
#'
#' ggplot(salinity, aes(x = salinity_ppt)) +
#'   geom_dotplot() +
#'   facet_wrap(~site_number, ncol = 1)
#'
#' tidy(aov(salinity_ppt ~ site_number, data = salinity))
"salinity"
OpenIntroStat/openintro documentation built on June 4, 2024, 4:19 a.m.