tallyFishSpp | R Documentation |
Tally PAWMAP Fish Species Composition Data.
tallyFishSpp(
dfm,
speciesIn = "common_name",
sppLook = "Common_Name",
by = "row",
countFields = c("totNum", "numSurv"),
station = "site_identifier",
dateField = "collection_start_date",
noFish = "fished_none_collected"
)
dfm |
The data frame containing fish counts |
speciesIn |
The field in dfm that identifies species |
sppLook |
Look up species traits by: "Common_Name" (default) or "Species_Name" |
by |
Are the data formatted one row per individual ('row'), or counts per species ('counts')? |
countFields |
Only used if by='count'. A vector of length 2 indicating the fields for total number of each species captured first, and the number of surveys on which they were captured second. |
station |
The field identifying the sampling station |
dateField |
The field identifying the sampling date |
noFish |
String of field name indicating the survey found no fish |
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.