oceanDiversity: Function 2.3 oceanDiversity compute spatial patterns of...

oceanDiversityR Documentation

Function 2.3 oceanDiversity compute spatial patterns of species diversity from occurrences compute spatial patterns of species diversity from large occurrences datasets

Description

computes global grid of abundance of occurrences at multiple scales

Usage

oceanDiversity(occurrences, species_name = "scientificName",
  lat_name = "decimalLatitude", long_name = "decimalLongitude",
  extent = "global", cell_size = 5, min_long = -180, max_long = 180,
  min_lat = -90, max_lat = 90, diversity_metric = "richness")

Arguments

occurrences

dataset of occurrences downloaded from OBIS or GBIF

lat_name

variable name indicating latitude in the occurrences dataset

long_name

variable name indicating longitude in the occurrences dataset

extent

spatial extent of the analysis:"global", "Mediterranean"

cell_size

size of the grid cells in degrees (?)

min_long

minimum longitude of the analysis

max_long

maximum longitude of the analysis

max_lat

maximum latitude of the analysis

diversity_metric

diversity metric to be computes: richness, shannon or simpson indeces

max_long

minimum latitute of the analysis

Details

The function creates downloads occurrences data from the specific sources and stores them in a data frame.

Value

The function returns a an object of class raster with abundance per cell


monteroserra/rOceans documentation built on Dec. 23, 2024, 2:47 p.m.