Learn R Programming

BSDA (version 1.2.0)

Ronbrown2: Oceanography data obtained at site 2 by scientist aboard the ship Ron Brown

Description

Data for Exercise 2.56 and Example 2.4

Usage

Ronbrown2

Arguments

Format

A data frame/tibble with 150 observations on three variables

depth

ocean depth (in meters)

temperature

ocean temperature (in Celcius)

salinity

ocean salinity level

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code
# NOT RUN {
plot(salinity ~ depth, data = Ronbrown2)
model <- lm(salinity ~ depth, data = Ronbrown2)
summary(model)
plot(model, which = 1)
rm(model)

# }

Run the code above in your browser using DataLab