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)
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)
Data set with presences (occurrences). A data frame with 3 columns: long, lat and species name (in this order)
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
A directory to save the results
Coordinates system (e.g. "4326" is WGS84; check http://spatialreference.org/ )
Number of buffers
Number of replicates
Either "dismo" or "maxnet"
Maximum Boyce Index Partial to stop the process if reached
Maximum Boyce Index Total to stop the process if reached
Minimum SD of the Boyce Index Partial to stop the process if reached (last 3 buffers)
Minimum SD of the Boyce Index Total to stop the process if reached (last 3 buffers)
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
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.
Rotllan-Puig, X. & Traveset, A. 2019. Determining the Minimal Background Area for Species Distribution Models: MinBAR Package. bioRxiv. 571182. DOI: 10.1101/571182
# 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