map_env_dist: C++ function to calculate Euclidean and Mahalanobis distance was implemented, by @sjevelazco 463extra_eval: C++ function to calculate Euclidean and Mahalanobis distance was implemented, by @sjevelazco 463fit_dom: C++ function to calculate gower distance was optimized, by @sjevelazco 463map_env_dist: C++ function to calculate gower distance was optimized, by @sjevelazco 463msdm_posteriori: a new argument that assumes unsuitable cells with presences as patches. This is only used in the 'lq' approach, by @sjevelazco 461sdm_eval: Boyce metric was readapted based on enmSdmX package, by @sjevelazco 457msdm_posteriori: now car return semi-binary suitability maps, by @sjevelazco 455part_senv: new argument to use or not presences-absences coordinate to perform environmental partition, by @sjevelazco 445
map_env_distwas improved. Now it is possible to calculate Euclidean and Mahalanobis distances in addition to the Gower distance (Domain algorithm), by @sjevelazco.sdm_eval()now calculates three additional performance metrics: the Matthews Correlation Coefficient (MCC). the Continuous Ranked Probability Score (CRPS), and a prevalence-weighted average of TPR and TNR (W_TPR_TNR), by @sjevelazco 445.fit_gbm()andtune_gbm()were improved to prevent theargument is of length zeroerror. This was achieved by adding a safeguard that dynamically adjustsn.minobsinnodebased on the size of the training data partition, ensuring it remains valid for thegbmalgorithm, by @sjevelazco 445.sdm_uncertaintyThis new function calculates species distribution model uncertainty using a bootstrap procedure, by @sjevelazco #442- fit_ functions now can handle partition = NULL, by @sjevelazco #442
- A new vignette demonstrating how to model several species and periods of time was added by @mrose048 @sjevelazco @iminoli-dev 438
fit_, tune_, esm_ andfit_ensemblefunctions now return a performance table for each partition and replicate (performance_part), by @sjevelazco #432 and 434p_pdpwas improved to depict exactly training range values when projection data are used, by @sjevelazco #429sample_pseudoabsa sample approach was implemented based on environmental K-means, by @sjevelazco #410sample_pseudoabsK-means step was improved for the geoenv_const_kmeans approach, by @sjevelazco #410p_extraNow can handle binary maps to plot suitability or extrapolation values in the geographical or environmental space, by @sjevelazco 418map_env_distThis new function calculates environmental distance between presences and projection data. Only the nearest Gower distance was implemented (Domain algorithm), by @sjevelazco 419fit_domThis is a new function to fit and validate the Domain algorithm, by @sjevelazco
occfilt_geoadapted to test different values for the three methods by @sjevelazco in 386occfilt_envnow can filter with several bins by @sjevelazco in 388occfilt_selectwas created and a test protocol was written by @sjevelazco in 389occfit_selectincluded in vignette and website by @sjevelazco in 390- mean change in
sdm_predictto handle 0 weight value for weighted mean by @sjevelazco in 391 - documentation of
occfilt_selectwas improved by @sjevelazco in 392 - It is possible to tune ntree hyperparameter of random forest algorithm by @sjevelazco in 393
correct_colinvarcan be used with species points by @sjevelazco in 394- Update pkg_citation.md by @mrose048 in 396
sdm_varimpwas added and tested by @mrose048 and @sjevelazco in 399- min change in warning message
calib_areaby @sjevelazco in 400
- min change in
interpfunction by @sjevelazco in 362 - min change in
occfilt_geoby @sjevelazco in 364 - Rlof was removed from dependencies by @sjevelazco in 365
- min change in
occfilt_geoby @sjevelazco in 370 - new argument in
occfilt_geoby @sjevelazco in 371 esm_functions were improved by @sjevelazco in 373 & 373- geographically constraint cell of env_var argument in
correct_colinvarby @sjevelazco in 374 - new argument in
correct_colinvarby @sjevelazco in 375 calib_areawas sped up by @sjevelazco in 377correct_colivarwas fixed and improved, FA method by @sjevelazco in 383occfilt_geo'defined' method was fixed by @sjevelazco in 384
- it is possible to restrict the cell used to perform collinearity reduction analysis to a geographical area smaller than the full extent of environmental variables in
correct_clinvar() - esm_ family function was improved and debugged
occfilt_geohas a new argument "rep" to control number o repetition to filter occurrences
- rgeos was removed from dependencies #356
- New vignette about how use different tools to explore model extrapolation and truncate models was added #352
- Univariate and combinatorial extrapolation metric added to
extra_eval. - Minor bugs were fixed to project PCA for other time periods #351
- Best grid raster names was changed to .part in
part_sblockandpart_sband - Improvements in
correct_colinvarto speed up function when using maxcell argument - Improvements in
correct_colinvarto project PCA for other time periods
- Improvements in
correct_colinvarIt is now possible to sample rasters to reduce machine memory and speed up the process - Improvements in
sdm_predictIt is possible predict model in chunks to reduce machine memory p_extra,p_pdp, andp_bpdpwere fixed- New function
p_bpdpBivariate Partial Dependent Plot - New function
data_bpdpCalculate data to construct bivariate partial dependence plots - Improvements in
p_dpdCalculate data to construct partial dependence plots
- New function
p_extraGraphical exploration of extrapolation or suitability pattern in the environmental and geographical space - New function
p_pdpPartial Dependent Plot - New function
data_pdpCalculate data to construct partial dependence plots
- New argument "crs" added to function
msdm_posteriori - New argument "sp_name" in
sample_backgroundandsample_pseudoabs - raster, flexclust, ape, and sp were removed from dependencies\
- Functions using CRS data have improved codes
- It is possible use a numeric value to specify threshold in
msdm_posteriori extra_evalcan use tibble or SpatRaster object in env_calib argumentextra_truncatehas a new argument to define values used for model truncation and documentation was improved. #