Learn R Programming

FSA (version 0.8.11)

Mirex: Mirex concentration, weight, capture year, and species of Lake Ontario salmon.

Description

Mirex concentration, weight, capture year, and species of Lake Ontario Coho and Chinook salmon.

Arguments

Format

A data frame with 122 observations on the following 4 variables.

Source

From (actual data) Makarewicz, J.C., E.Damaske, T.W. Lewis, and M. Merner. 2003. Trend analysis reveals a recent reduction in mirex concentrations in coho (Oncorhynchus kistuch) and chinook (O. tshawytscha) salmon from Lake Ontario. Environmental Science and Technology, 37:1521-1527.

Topic(s)

  • Linear models
  • Other
@concept 'Linear Models' Other

Details

The year variable should be converted to a factor as shown in the example.

Examples

Run this code
data(Mirex)
Mirex$year <- factor(Mirex$year)
lm1 <- lm(mirex~weight*year*species,data=Mirex)
anova(lm1)

Run the code above in your browser using DataLab