MinBAR (version 1.1.0)

minba(): Determining the Minimal Background Area for Species Distribution Models

Description

A versatile tool that aims at (1) defining what is the minimum or optimal background extent necessary to fit good partial species distribution models and/or (2) determining if the background area used to fit a partial species distribution model is reliable enough to extract ecologically relevant conclusions from it. See Rotllan-Puig, X. & Traveset, A. (2019)

Usage

minba(occ = NULL, varbles = NULL, wd = NULL, prj = NULL,
  num_bands = 10, n_rep = 3, maxent_tool = "maxnet",
  BI_part = NULL, BI_tot = NULL, SD_BI_part = NULL,
  SD_BI_tot = NULL)

Arguments

occ

Data set with presences (occurrences). A data frame with 3 columns: long, lat and species name (in this order)

varbles

A raster brick of the independent variables, or a directory where the rasters are. It will use all the rasters in the folder. Supported: .tif and .bil

wd

A directory to save the results

prj

Coordinates system (e.g. "4326" is WGS84; check http://spatialreference.org/ )

num_bands

Number of buffers

n_rep

Number of replicates

maxent_tool

Either "dismo" or "maxnet"

BI_part

Maximum Boyce Index Partial to stop the process if reached

BI_tot

Maximum Boyce Index Total to stop the process if reached

SD_BI_part

Minimum SD of the Boyce Index Partial to stop the process if reached (last 3 buffers)

SD_BI_tot

Minimum SD of the Boyce Index Total to stop the process if reached (last 3 buffers)

Value

selfinfo_mod_, info_mod_ and info_mod_means_ (all followed by the name of the species). The first two tables are merely informative about how the modelling process has been developed and the results of each model. Whereas info_mod_means_ shows the means of the n models run for each buffer

Details

Please check the article 'Determining the Minimal Background Area for Species Distribution Models: MinBAR Package' for further details on how to use this package, examples, etc.

References

Rotllan-Puig, X. & Traveset, A. 2019. Determining the Minimal Background Area for Species Distribution Models: MinBAR Package. bioRxiv. 571182. DOI: 10.1101/571182

Examples

Run this code
# NOT RUN {
MinBAR:::minba(occ = sprecords, varbles = bioscrop,
wd = tempdir(), prj = 4326, num_bands = 3, n_rep = 3,
maxent_tool = "maxnet")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab