data(InchLake2)
str(InchLake2)
head(InchLake2)
## Isolate just Bluegills
bg.il <- subset(InchLake2,species=="Bluegill")
## Isolate just largemouth bass from 2007
lmb7.il <- subset(InchLake2,species=="Largemouth Bass" & year==2007)
Run the code above in your browser using DataLab