- data
(data.frame) the data.frame imported with the
load_florabr
function.
- occ
(data.frame) a data.frame with the records of the species.
- species
(character) column name in occ with species names.
Default = "species"
- long
(character) column name in occ with longitude data. Default = "x"
- lat
(character) column name in occ with latitude data. Default = "y"
- by_state
(logical) filter records by state? Default = TRUE
- buffer_state
(numeric) buffer (in km) around the polygons of the
states of occurrence of the specie. Default = 20.
- by_biome
(logical) filter records by biome? Default = TRUE
- buffer_biome
(numeric) buffer (in km) around the polygons of the
biomes of occurrence of the specie. Default = 20.
- by_endemism
(logical) filter records by endemism? Default = TRUE
- buffer_brazil
(numeric) buffer (in km) around the polygons of the
brazil. Default = 20.
- state_vect
(SpatVector) a SpatVector of the Brazilian states. By
default, it uses the SpatVector provided by geobr::read_state(). It can be
another Spatvector, but the structure must be identical to
geobr::read_state().
- state_column
(character) name of the column in state_vect containing
state abbreviations. Only use if biome_vect is not null.
- biome_vect
(SpatVector) a SpatVector of the Brazilian biomes. By
default, it uses the SpatVector provided by geobr::read_biomes(). It can be
another SpatVector, but the structure must be identical to
geobr::read_biomes() with biome names in English.
- biome_column
(character) name of the column in biome_vect containing
names of brazilian biomes (in English: "Amazon", "Atlantic_Forest",
"Caatinga", "Cerrado", "Pampa" and "Pantanal". Only use if biome_vect is not
null.
- br_vect
(SpatVector) a SpatVector of brazil. By default, it uses the
SpatVector provided by geobr::read_state() after being aggregated/dissolved,
- value
(character) Defines output values. See Value section.
Default = "flag&clean".
- keep_columns
(logical) if TRUE, keep all the original columns of the
input occ. If False, keep only the columns species, long and lat.
Default = TRUE
- verbose
(logical) Whether to display species being filtered during
function execution. Set to TRUE to enable display, or FALSE to run silently.
Default = TRUE.