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"

Try the openintro package in your browser

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

openintro documentation built on Sept. 1, 2022, 9:06 a.m.