Hello All,

I am looking for help finding R code to help me generate fish indices of stream quality.  A brief over view of what I currently have:  I am using two different data sets to help generate these metrics.  The first one consists of site data, where each row is a sampling event and each column is a species, with the corresponding cells containing abundances for that site.  The second data set is a fish traits database where each row is a fish species (same species as the sampling events) and each column is a specific trait with each cell indicating whether the fish species has that trait or not.  Specifically, I'm looking for code that will help me read from both tables at once, with out me having to write a bunch of if-then statements.

Any help, or ideas on a starting point, would be greatly appreciated.

Thanks,

Alison Anderson

--
Alison M. Anderson
Graduate Research Assistant
West Virginia University
aander16@mix.wvu.edu
(419)305-4167

	[[alternative HTML version deleted]]

