Magnesiu | R Documentation |
Data for Exercise 9.9
Magnesiu
A data frame/tibble with 20 observations on two variables
distance between samples
concentration of magnesium
Davis, J. (1986), Statistics and Data Analysis in Geology, 2d. Ed., John Wiley and Sons, New York, p. 146.
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
plot(magnesium ~ distance, data = Magnesiu)
model = lm(magnesium ~ distance, data = Magnesiu)
abline(model, col = "red")
summary(model)
rm(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.