flexsdm
Useful tools for constructing species distribution models
Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 6 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.0%) to scientific vocabulary
Keywords
Repository
Useful tools for constructing species distribution models
Basic Info
- Host: GitHub
- Owner: sjevelazco
- Language: R
- Default Branch: main
- Homepage: https://sjevelazco.github.io/flexsdm/
- Size: 109 MB
Statistics
- Stars: 52
- Watchers: 3
- Forks: 6
- Open Issues: 6
- Releases: 5
Topics
Metadata Files
README.html
README.knit flexsdm
flexsdm - email list
Dear flexsdm user, if you are interested in receiving email notifications about modifications made to the package (e.g., new functions, arguments, or vignettes), please fill out this form so we can keep you updated on what is new in flexsdm. |
Overview
Species distribution modeling has become a standard tool in several research areas such as ecology, conservation biology, biogeography, paleobiogeography, and epidemiology. Species distribution modeling is an area of active research in both theoretical and methodological aspects. One of the most exciting features of flexsdm is its high manipulation and parametrization capacity based on different functions and arguments. These attributes enable users to define a complete or partial modeling workflow specific for a modeling situation (e.g., number of variables, number of records, different algorithms, algorithms tuning, ensemble methods).
1. Pre-modeling functions
Set tools that prepare modeling input data (e.g., species occurrences thinning, sample pseudo-absences or background points, delimitation of calibration area).
calib_area()Delimit calibration area for constructing species distribution modelscorrect_colinvar()Collinearity reduction on predictorsenv_outliers()Integration of outliers detection methods in the environmental spacepart_random()Data partitioning for training and testing modelspart_sblock()Spatial block cross validationpart_sband()Spatial band cross validationpart_senv()Environmental cross-validationplot_res()Plot different resolutions to be used in part_sblockget_block()Transform a spatial partition layer to the same spatial properties of environmental variablessample_background()Sample background pointssample_pseudoabs()Sampel pseudo-absencesdm_directory()Create directories for saving the outputs of the flexsdmsdm_extract()Extract environmental data based on x and y coordinatesoccfilt_env()Perform environmental filtering on species occurrencesoccfilt_geo()Perform geographical filtering on species occurrencesoccfilt_select()Select filtered occurrences when it was tested with different filtering values2. Modeling functions
It includes functions related to modeling construction and validation. Several of them can be grouped into
fit_*,tune_*, andesm_*family functions.fit_*construct and validate models with default hyper-parameter values.tune_*construct and validate models searching for the best hyper-parameter values combination.esm_construct and validate Ensemble of Small Models.Model evaluation
sdm_eval()Calculate different model performance metrics
fit_*functions family
fit_gam()Fit and validate Generalized Additive Modelsfit_gau()Fit and validate Gaussian Process modelsfit_gbm()Fit and validate Generalized Boosted Regression modelsfit_glm()Fit and validate Generalized Linear Modelsfit_max()Fit and validate Maximum Entropy modelsfit_net()Fit and validate Neural Networks modelsfit_raf()Fit and validate Random Forest modelsfit_svm()Fit and validate Support Vector Machine models
tune_*functions family
tune_gbm()Fit and validate Generalized Boosted Regression models with exploration of hyper-parameterstune_max()Fit and validate Maximum Entropy models with exploration of hyper-parameterstune_net()Fit and validate Neural Networks models with exploration of hyper-parameterstune_raf()Fit and validate Random Forest models with exploration of hyper-parameterstune_svm()Fit and validate Support Vector Machine models with exploration of hyper-parametersModel ensemble
fit_ensemble()Fit and validate ensemble models with different ensemble methods
esm_*functions family
esm_gam()Fit and validate Generalized Additive Models with Ensemble of Small Model approachesm_gau()Fit and validate Gaussian Process models Models with Ensemble of Small Model approachesm_gbm()Fit and validate Generalized Boosted Regression models with Ensemble of Small Model approachesm_glm()Fit and validate Generalized Linear Models with Ensemble of Small Model approachesm_max()Fit and validate Maximum Entropy models with Ensemble of Small Model approachesm_net()Fit and validate Neural Networks models with Ensemble of Small Model approachesm_svm()Fit and validate Support Vector Machine models with Ensemble of Small Model approach3. Post-modeling functions
Tools related to models’ geographical predictions, evaluation, and correction.
sdm_predict()Spatial predictions of individual and ensemble modelsdm_summarize()Merge model performance tablesinterp()Raster interpolation between two time periodsextra_eval()Measure model extrapolationextra_truncate()Constraint suitability values under a given extrapolation valuemsdm_priori()Create spatial predictor variables to reduce overprediction of species distribution modelsmsdm_posteriori()Methods to correct overprediction of species distribution models based on occurrences and suitability patterns.4. Graphical model exploration
Useful tools to visually explore models’ geographical and environemtal predictions, model extrapolation, and partial depnendece plot.
p_pdp()Create partial dependence plot(s) to explore the marginal effect of predictors on suitabilityp_bpdp()Create partial dependence surface plot(s) to explore the bivariate marginal effect of predictors on suitabilityp_extra()Graphical exploration of extrapolation or suitability pattern in the environmental and geographical spacedata_pdp()Calculate data to construct partial dependence plotsdata_bpdp()Calculate data to construct partial dependence surface plotsInstallation
You can install the development version of flexsdm from github
:warning: NOTE: The version 1.4-22 of terra package is causing errors when trying to instal flexsdm. Please, first install a version ≥ 1.5-12 of terra package available on CRAN or development version of terra and then flexsdm.
# install.packages("remotes") # For Windows and Mac OS operating systems remotes::install_github("sjevelazco/flexsdm") # For Linux operating system remotes::install_github("sjevelazco/flexsdm@HEAD")Package website
See the package website (https://sjevelazco.github.io/flexsdm/) for functions explanation and vignettes.
Package citation
Velazco, S.J.E., Rose, M.B., Andrade, A.F.A., Minoli, I., Franklin, J. (2022). flexsdm: An R package for supporting a comprehensive and flexible species distribution modelling workflow. Methods in Ecology and Evolution, 13(8) 1661–1669. https://doi.org/10.1111/2041-210X.13874
Test the package and give us your feedback here or send an e-mail to sjevelazco@gmail.com.
Owner
- Name: Santiago J.E. Velazco
- Login: sjevelazco
- Kind: user
- Company: Instituto de Biología Subtropical, Consejo Nacional de Investigaciones Científicas y Técnicas, Universidad Nacional de Misiones, Puerto Iguazú, Misiones, Argentina
- Twitter: Santiag43066556
- Repositories: 4
- Profile: https://github.com/sjevelazco
A forest engineer interested in science
GitHub Events
Total
- Issues event: 12
- Watch event: 2
- Delete event: 1
- Issue comment event: 9
- Push event: 74
- Pull request event: 69
- Fork event: 2
- Create event: 14
Last Year
- Issues event: 12
- Watch event: 2
- Delete event: 1
- Issue comment event: 9
- Push event: 74
- Pull request event: 69
- Fork event: 2
- Create event: 14
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Santiago Velazco | s****o@g****m | 637 |
| sjevelazco | s****c@g****m | 173 |
| Brooke Rose | 5****8 | 117 |
| Janet Franklin | j****t@s****n | 12 |
| Andre Felipe Alves de Andrade | a****e@g****m | 9 |
| iminoli-dev | m****p@g****m | 6 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 41
- Total pull requests: 168
- Average time to close issues: 5 months
- Average time to close pull requests: about 1 hour
- Total issue authors: 28
- Total pull request authors: 4
- Average comments per issue: 1.32
- Average comments per pull request: 0.01
- Merged pull requests: 160
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 10
- Pull requests: 65
- Average time to close issues: 22 days
- Average time to close pull requests: 7 minutes
- Issue authors: 8
- Pull request authors: 2
- Average comments per issue: 0.4
- Average comments per pull request: 0.0
- Merged pull requests: 59
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- Orobanchaceae (4)
- wardfont (4)
- sjevelazco (3)
- dinilu (2)
- dannyvelezv (2)
- darrennorris (2)
- stangandaho (2)
- wevertonbio (2)
- JoelMet (1)
- iminoli-dev (1)
- Abert12 (1)
- Supervegito16 (1)
- dorjismo (1)
- ericsimandle (1)
- smsfrn (1)
Pull Request Authors
- sjevelazco (144)
- mrose048 (21)
- drjanetfranklin (2)
- wardfont (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- R >= 3.5.0 depends
- Rlof * imports
- doParallel * imports
- dplyr * imports
- foreach * imports
- gbm * imports
- grDevices * imports
- kernlab * imports
- maxnet * imports
- methods * imports
- mgcv * imports
- nnet * imports
- randomForest * imports
- spThin * imports
- terra >= 1.5 imports
- utils * imports
- covr * suggests
- knitr * suggests
- rgeos * suggests
- rmarkdown * suggests
- testthat >= 3.0.0 suggests
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- actions/cache v1 composite
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite