Description Usage Arguments Details
View source: R/calculateFishIBI.R
Calculates a fish IBI based on Hughes et al "A process for developing and evaluating indices of fish assemblage integrity"
1 2 3 | calculateFishIBI(site, order, species, length, anomaly,
join.traits.by = "common_name", return.subindices = F,
return.raw.metrics = F, ODFW.version = F)
|
site |
vector of site-visit identifiers |
order |
a numeric vector; stream order correspoding to the location |
species |
a vector of taxa names; must correspond to name field returned by fishTraits |
length |
a vector of fish lengths in centimeters |
anomaly |
a logical vector, |
join.traits.by |
which field from the data.frame returned by fishTraits should be used to match the species |
return.subindices |
logical, should the subindices be returned or just the IBI? |
return.raw.metrics |
should raw metrics be returned rather than IBI values? |
The fishTraits
(unexported, use nrsa:::fishTraits to view code) function returns a data.frame
with trait data for the IBI.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.