oceanRichness: Function #1.3 oceanRichness creates a richness layer from...

Description Usage Arguments Value Author(s)

Description

creates a richness raster from multispecies occurrences data

Usage

1
2
3
4
oceanRichness(occurrences, species_name = "species",
  long_name = "decimalLongitude", lat_name = "decimalLatitude",
  extent = "global", min_long = -180, max_long = 180, min_lat = -90,
  max_lat = 90, cell_size = 5, richness_map = F)

Arguments

occurrences

species occurrences dataframe, with at least longitude and latitude columns

long_name

column name for longitudes in the "occurrences" dataframe

lat_name

column name for latitudes in the "occurrences" dataframe

min_long

minimum longitude of the analysis

max_long

maximum longitude of the analysis

max_lat

maximum latitude of the analysis

cell_size

interger indicating grid cell size

richness_map

plot the resulting richness map

species_names

column name for species names in the "occurrences" dataframe

max_long

minimum latitute of the analysis

Value

The result is an object of class raster with richness grid cell

Author(s)

I. Montero-Serra, E. Aspillaga, V. Barve, N Barve & K. Kaplan,


monteroserra/rOceansNew documentation built on May 13, 2019, 1:09 p.m.