A versatile tool that aims at aims at (1) defining the minimum background extent necessary to fit SDMs reliable enough to extract ecologically relevant conclusions from them and (2) optimizing the modelling process in terms of computation demands. See Rotllan-Puig, X. & Traveset, A. (2021)
minba(
occ = NULL,
varbles = NULL,
wd = NULL,
prj = NULL,
num_bands = 10,
n_rep = 15,
occ_prop_test = 0.3,
maxent_tool = "maxnet",
BI_part = NULL,
BI_tot = NULL,
SD_BI_part = NULL,
SD_BI_tot = NULL
)
Data frame or character. Data set with presences (occurrences). A data frame with 3 columns: long, lat and species name (in this order)
Raster* object. 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
Character. A directory to save the results
Numeric. Coordinates system (e.g. "4326" is WGS84; check https://spatialreference.org/ )
Numeric. Number of buffers (default is 10)
Numeric. Number of replicates (default is 15)
Numeric. Proportion of presences (occurrences) set aside for testing (default is 0.3)
Character. Either "dismo" or (default) "maxnet"
Numeric. Maximum Boyce Index Partial to stop the process if reached
Numeric. Maximum Boyce Index Total to stop the process if reached
Numeric. Minimum SD of the Boyce Index Partial to stop the process if reached (last 3 buffers)
Numeric. 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. 2021. Determining the Minimal Background Area for Species Distribution Models: MinBAR Package. Ecological Modelling. 439:109353. https://doi.org/10.1016/j.ecolmodel.2020.109353
# NOT RUN {
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