powered by
This function creates a summary file counting the total number of G and H occurrences, including those with coordinates
OccurrenceCounts(species, Occurrence_data)
A vector of characters with the species name.
A data frame object with the species name, geographical coordinates, and type of records (G or H) for a given species
This function returns a data frame object with the following columns:
Ramirez-Villegas et al. (2010) PLOS ONE, 5(10), e13497. doi: 10.1371/journal.pone.0013497 Khoury et al. 2019) Ecological Indicators 98: 420-429. doi: 10.1016/j.ecolind.2018.11.016
# NOT RUN { data(CucurbitaData) ##Obtaining species names from the data Cucurbita_splist <- unique(CucurbitaData$species) sp_counts <- OccurrenceCounts(Cucurbita_splist[[1]],CucurbitaData) # }
Run the code above in your browser using DataLab