Inch Lake is a 12.5 ha inland lake in northern Wisconsin that has been managed as catch-and-release for all species since 2006. Researchers at Northland College have monitored fish populations in Inch Lake since 2007. The total lengths (inches) and weights (g) for subsamples of several species of fish collected from Inch Lake in May of 2007 and 2008 are recorded in InchLake2.csv (view, download, meta). Use these data to answer the following questions.

  1. Create a new variable that contains lengths in millimeters.
  2. Create a new data.frame of just Bluegill.
  3. Create a new data.frame of just Largemouth Bass.
  4. Create a new data.frame of nongame species (Bluntnose Minnow, Fathead Minnow, Iowa Darter, and Tadpole Madtom).
  5. Remove the netID variable from the two single species data.frames created above.
  6. Sort the nongame species only data.frame by species.
  7. Sort the nongame species only data.frame by length within species within year.
  8. Change the names of the weight variable to wt and the length in millimeters variable to tl (if you did not call it that above).
  9. Create two new variables that are the common logarithms of the lengths (in mm) and weights.
  10. Add appropriate five-cell Gabelhouse length categories to the Bluegill and Largemouth Bass only data.frames.

Save the script from this exercise as these data will be used in this plotting, this weight-length relationhip, and this condition exercise.


from Derek H. Ogle , created 01-Oct-15, updated 08-Nov-15, Comments/Suggestions.