infer_origin: Infer origin

View source: R/infer_origin.R

infer_originR Documentation

Infer origin

Description

Find the minimum and maximum of occurrence. Here the minimum and maximum should match the resolution of the grid.

Usage

infer_origin(
  input_occ,
  fun = min,
  flag_unit = "meter",
  filters = sort(c(10^(2:10), 10^(3:10)/2))
)

Arguments

input_occ

Spatial points

fun

Function used to infer the origin

flag_unit

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

filters

A series of values used as dividend of the coordinates to find the origin

Author(s)

Xiao Feng


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