infer_extent: Infer extent

View source: R/infer_extent.R

infer_extentR Documentation

Infer extent

Description

Return an extent in the order of xmin, xmax, ymin, ymax.

Usage

infer_extent(
  method = "",
  country = NULL,
  occ = NULL,
  crs_grid = NULL,
  flag_adjust_by_res = FALSE,
  res_x = NULL,
  res_y = NULL,
  flag_adjust_origin = (method == "occ_extent"),
  flag_unit = "meter"
)

Arguments

method

Character. A string, country_extent, crs_extent, occ_extent

country

Character. A string of country

occ

Spatial points

flag_adjust_by_res

Logical. True or False to adjust by resolution

res_x

Numeric. X resolution

res_y

Numeric. Y resolution

flag_adjust_origin

Boolean parameter for adjust the origin of the grid

flag_unit

Character. A a string; default value is meter "meter". It also can "degree","minute","second"

crs_gridCharacter

EPSG code for a coordinate reference system

Author(s)

Xiao Feng


BiogeographyLab/gridder documentation built on April 21, 2024, 2:32 a.m.