View source: R/plotFishSppComp.r
plotFishSpp | R Documentation |
Plot PAWMAP Fish Species Composition Data.
plotFishSpp(
dfm,
speciesIn = "common_name",
sppLook = "Common_Name",
by = "row",
countFields = c("totNum", "numSurv"),
limitLength = TRUE,
quiet = FALSE,
...
)
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. |
limitLength |
Should the number of species plotted be limited to the top 25? (to prevent an overcrowded plot) |
quiet |
should warnings be suppressed? |
... |
Additional arguments passed to tallyFishSpp |
A tornado plot 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.