Appendix: Function Reference
This section provides a quick reference to all functions available in the rvc package, grouped by purpose.
Data Loading
getRvcData(): Retrieves NCRMP fish survey data for specified years and regions. Returns a list containingsample_data,stratum_data, andtaxonomic_data.getSampleData(): Retrieves sample data from server as a data.frame.getStratumData(): Retrieves stratum information from server as a data.frame.getBenthicData(): Retrieves benthic data from server as a data.frame.getTaxonomicData(): Retrieves taxonomic and life history data from server as a data.frame.
Abundance
getDomainAbundance(): Calculates relative species abundance at the domain level.getStratumAbundance(): Calculates relative species abundance at the stratum level.getPSUAbundance(): Calculates relative species abundance at the PSU level.
Biomass
getDomainBiomass(): Calculates mean biomass (kg/cylinder) at the domain level.getStratumBiomass(): Calculates mean biomass (kg/cylinder) at the stratum level.getPSUBiomass(): Calculates mean biomass (kg/cylinder) at the PSU level.getDomainTotalBiomass(): Calculates total biomass (kg) scaled up to the entire domain.getStratumTotalBiomass(): Calculates total biomass (kg) scaled up to the stratum level.
Density
getDomainDensity(): Calculates mean density (ind/cylinder) at the domain level.getStratumDensity(): Calculates mean density (ind/cylinder) at the stratum level.getPSUDensity(): Calculates mean density (ind/cylinder) at the PSU level.
Length
getDomainLbar(): Calculates mean length (cm) at the domain level.getDomainLengthFrequency(): Calculates relative length frequency at the domain level.getStratumLengthFrequency(): Calculates relative length frequency at the stratum level.
Occurrence
getDomainOccurrence(): Calculates mean occurrence at the domain level.getStratumOccurrence(): Calculates mean occurrence at the stratum level.getPSUOccurrence(): Calculates mean occurrence at the PSU level.