createCWPGrid: createCWPGrid

View source: R/createCWPGrid.R

createCWPGridR Documentation

createCWPGrid

Description

Creates a CWP grid spatial object

Usage

createCWPGrid(
  size = NULL,
  res = NULL,
  xmin = NULL,
  ymin = NULL,
  xmax = NULL,
  ymax = NULL,
  parallel = FALSE,
  ...
)

Arguments

size

an integer code corresponding to the grid size (referred as code A in the CWP Handbook)

res

a string matching one of the accepted resolution values. Accepted resolutions values are '10min_x_10min', '20min_x_20min', '30min_x_30min', '30min_x_1deg', '1deg_x_1deg', '5deg_x_5deg', '10deg_x_10deg', '20deg_x_20deg', '30deg_x_30deg'"

xmin

xmin of the output grid

ymin

ymin of the output grid

xmax

xmax of the output grid

ymax

ymax of the output grid

parallel

run in parallel

...

parallel options

Value

an object of class "SpatialPolygonsDataFrame"

Author(s)

Emmanuel Blondel emmanuel.blondel1@gmail.com

References

CWP Handbook - http://www.fao.org/fishery/cwp/handbook/G/en


openfigis/RFigisGeo documentation built on Feb. 26, 2023, 6:37 a.m.