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

Description Usage Arguments Details Value

Description

computes global grid of abundance of occurrences at multiple scales

Usage

1
2
3
4
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/rOceansNew documentation built on May 13, 2019, 1:09 p.m.