View source: R/addFishTraits.r
addFishTraits | R Documentation |
Add fish traits to a data frame of fish counts
addFishTraits(
df,
speciesIn = "common_name",
sppLook = "Common_Name",
traits = c("Family", "Species_Name", "Common_Name", "Origin"),
filterNA = TRUE
)
df |
The data frame containing fish counts |
speciesIn |
The field in df that identifies species |
sppLook |
Look up species traits by: "Common_Name" (default) or "Species_Name" |
traits |
Which trait fields should be included? |
filterNA |
Should species not in the traits table be dropped? (A warning listing the unmatched species is provided.) |
A table of fish species presence (number of surveys on which species was captured), and abundance (total number of individuals captured)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.