View source: R/abundance_wrappers.R
getPSUAbundance | R Documentation |
Estimates abundance (total number of individuals) for each Primay Sample Unit
getPSUAbundance(x, species, length_bins = NULL, merge_protected = TRUE, ...)
x |
A list containing three data.frames:
|
species |
A character vector containing scientific names, common names, or species codes for the desired species, or a combination thereof |
length_bins |
Numeric vector, data.frame, or keyword.
|
merge_protected |
A boolean indicating whether protected and unprotected areas should be merged (TRUE, the default), or should be calculated seperately (FALSE) |
... |
Optional filters to apply to the data:
|
This estimate of abundance does not take into account detection probability. It is simply the count per secondary sampling unit extrapolated for the entire sampling domain. In most circumstances this will yield an underestimate of abundance.
A data.frame with:
The year
A code for the region: DRY TORT - Dry Tortugas, SEFCRI - Southeast Peninsular Florida, FLA KEYS - Florida Keys
A code for the stratum
A boolean indicating protected status: 1 - Protected, 2 - Unprotected
primary sample unit ID
The species code. The first three letters of the genus name and first four of the species name. If group is passed as an argument, SPECIES_CD will be changed to GROUP
Number of secondary sampling units sampled
Variance in estimated abundance
Estimated abundance per stratum
The length class or bin. Only present if length_bins is not NULL. The notation, [lower, upper), is inclusive of the lower bound, but exclusive of the upper bound
The protected status. Only present if merge_protected is FALSE
getRvcData
getDomainAbundance
## Get RVC data for the Florida Keys in 2000 fk2000 = getRvcData(years = 2000, regions = "FLA KEYS") ## Estimate Yellowtail Abundance per PSU getPSUAbundance(fk2000, species = "Ocy chry")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.