Magnesiu {BSDA}R Documentation

Magnesium concentration and distances between samples

Description

Data for Exercise 9.9

Usage

Magnesiu

Format

A data frame/tibble with 20 observations on two variables

distance

distance between samples

magnesium

concentration of magnesium

Source

Davis, J. (1986), Statistics and Data Analysis in Geology, 2d. Ed., John Wiley and Sons, New York, p. 146.

References

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

Examples


plot(magnesium ~ distance, data = Magnesiu)
model = lm(magnesium ~ distance, data = Magnesiu)
abline(model, col = "red")
summary(model)
rm(model)


[Package BSDA version 1.2.0 Index]