Create a cross-table with distance-corrected bird densities
Source:R/Create_Seabird_Density_Cross_Table.R
Create_Seabird_Density_Cross_Table.Rd
This function processes seabird observation data to create a cross-table of distance-corrected bird densities for selected species. It filters the data based on specific criteria, applies detection probability corrections, and calculates densities per unit area. The resulting table includes relevant metadata such as date, time, area, and location.
Arguments
- esas_table
A data frame containing seabird observation data as resulting from the
Create_ESAS_Table()
function.- probabilities
A data frame containing detection probabilities for different species as returned by
Calculate_Detection_P_Ship_Based_Surveys()
- species_selection
A vector of species codes to include in the analysis as encoded in the species column of the Observations table in the ESAS Data Model. See the Species page of the Data Model.
See also
Other analysis functions:
Calculate_Detection_P_Ship_Based_Surveys()
,
Create_ESAS_Table()
Examples
if (FALSE) { # \dontrun{
esas_table <- Create_ESAS_Table(Read_ESAS_Tables(path = "path_to_download"))
ESAS_DENSITIES <- Create_Seabird_Density_Cross_Table(
esas_table = esas_table,
probabilities = Calculate_Detection_P_Ship_Based_Surveys(esas_table),
species_selection = c(720, 6020)
)
} # }