Learn R Programming

openintro (version 2.4.0)

salinity: Salinity in Bimini Lagoon, Bahamas

Description

Data collected at three different water masses in the Bimini Lagoon, Bahamas.

Usage

salinity

Arguments

Format

A data frame with 30 rows and 2 variables.

site_number

Location where measurements were taken.

salinity_ppt

Salinity value in parts per thousand.

Examples

Run this code
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))

Run the code above in your browser using DataLab