Learn R Programming

https://biomodhub.github.io/biomod2/

Installation

  • Stable version from cran :
install.packages("biomod2", dependencies = TRUE)
library(devtools)
devtools::install_github("biomodhub/biomod2", dependencies = TRUE)

biomod 4.2-5 - Modeling options & Tuning Update

! biomod2 4.2-5 is now available on GitHub !

/!\ Please feel free to indicate if you notice some strange new behaviors !

What is changed ?

  • modeling options are now automatically retrieved from single models functions, normally allowing the use of all arguments taken into account by these functions
  • tuning has been cleaned up, but keep in mind that it is still a quite long running process
  • in consequence, BIOMOD_ModelingOptions and BIOMOD_Tuning functions become secundary functions (bm_ModelingOptions and bm_Tuning), and modeling options can be directly built through BIOMOD_Modeling function

What is new ?

  • ModelsTable and OptionsBigboss datasets (note that improvement of bigboss modeling options is planned in near future)
  • data preparation vignette has been created (questions you should ask yourself before modeling)

biomod 4.2 - Terra Update

What is changed ?

  • biomod2 now relies on the new terra package that aims at replacing rasterand sp.
  • biomod2 is still compatible with old format such as RasterStackand SpatialPointsDataFrame.
  • biomod2 function will sometimes return SpatRaster from package terra that you can always convert into RasterStack using function stack in raster.

biomod 4.1 is now available

/!\ Package fresh start... meaning some changes in function names and parameters. We apologize for the trouble >{o.o}< Sorry for the inconvenience, and please feel free to indicate if you notice some strange new behaviors !

What is changed ?

  • all code functions have been cleaned, and old / unused functions have been removed
  • function names have been standardized (BIOMOD_ for main functions, bm_ for secundary functions)
  • parameter names have been standardized (same typo, same names for similar parameters across functions)
  • all documentation and examples have been cleaned up

What is new ?

  • plot functions have been re-written with ggplot2
  • biomod2 website has been created, with proper roxygen2 documentation and help vignettes

But... why ?

  • For every minute spent on organizing, an hour is earned.” — Benjamin Franklin
    • better documentation, better formation, better help provided
    • new improvements to come (update of single models, implementation of abundance models, etc)

Copy Link

Version

Install

install.packages('biomod2')

Monthly Downloads

4,236

Version

4.2-5

License

GPL-3

Maintainer

Last Published

May 2nd, 2024

Functions in biomod2 (4.2-5)

BIOMOD.models.options

bm_ModelingOptions output object class
BIOMOD.formated.data.PA

BIOMOD_FormatingData() output object class (with pseudo-absences)
BIOMOD.options.dataset

bm_ModelingOptions output object class
BIOMOD.projection.out

BIOMOD_Projection() output object class
BIOMOD.stored.data

BIOMOD_Modeling and BIOMOD_EnsembleModeling output object class
BIOMOD.models.out

BIOMOD_Modeling() output object class
BIOMOD.ensemble.models.out

BIOMOD_EnsembleModeling() output object class
BIOMOD.options.default

bm_ModelingOptions output object class
BIOMOD_CrossValidation-deprecated

BIOMOD_CrossValidation
BIOMOD.formated.data

BIOMOD_FormatingData() output object class
BIOMOD_tuning-deprecated

BIOMOD_Tuning
BIOMOD_Projection

Project a range of calibrated species distribution models onto new environment
BIOMOD_Modeling

Run a range of species distribution models
BIOMOD_LoadModels

Load species distribution models built with biomod2
BIOMOD_PresenceOnly-deprecated

BIOMOD_PresenceOnly
BinaryTransformation-deprecated

BinaryTransformation
BIOMOD_EnsembleForecasting

Project ensemble species distribution models onto new environment
BIOMOD_RangeSize

Analyze the range size differences between projections of species distribution models
BIOMOD_FormatingData

Format input data, and select pseudo-absences if wanted, for usage in biomod2
BIOMOD_EnsembleModeling

Create and evaluate an ensemble set of models and predictions
bioclim_future

Bioclimatic variables for SDM based on future condition
biomod2_ensemble_model

Ensemble model output object class (when running BIOMOD_EnsembleModeling())
Find.Optim.Stat-deprecated

Find.Optim.Stat
OptionsBigboss

Bigboss pre-defined parameter values for single models
biomod2_model

Single model output object class (when running BIOMOD_Modeling())
ModelsTable

Single models package and functions
bioclim_current

Bioclimatic variables for SDM based on current condition
DataSpecies

Presence-Absence data to build test SDM
biomod2-deprecated

Deprecated functions in package biomod2.
ProbDensFunc-deprecated

ProbDensFunc
bm_PlotResponseCurves

Plot response curves
bm_BinaryTransformation

Convert probability values into binary values using a predefined threshold
bm_FindOptimStat

Calculate the best score according to a given evaluation method
bm_PlotVarImpBoxplot

Plot boxplot of variables importance
bm_MakeFormula

Standardized formula maker
bm_CrossValidation

Build cross-validation table
bm_PlotEvalBoxplot

Plot boxplot of evaluation scores
bm_ModelingOptions

Configure the modeling options for each selected model
bm_RunModelsLoop

Loop to compute all single species distribution models
calculate.stat-deprecated

calculate.stat
bm_PlotEvalMean

Plot mean evaluation scores
bm_SRE

Surface Range Envelope
bm_PseudoAbsences

Select pseudo-absences
bm_VariablesImportance

Variables' importance calculation
bm_PlotRangeSize

Plot species range change
check_duplicated_cells

Check duplicated cells
.categorical2numeric

Transform categorical into numeric variables
load_stored_object

Functions to load BIOMOD.stored.data objects
bm_Tuning

Tune models parameters
bm_SampleBinaryVector

Sample binary vector
bm_SampleFactorLevels

Sample all levels of a factorial variable
getStatOptimValue-deprecated

getStatOptimValue
makeFormula-deprecated

makeFormula
.load_gam_namespace

Load library for GAM models
.transform.outputs.list-deprecated

.transform.outputs.list
getters.bm

Functions to extract informations from biomod2_model objects
.transform_model.as.col

Transform predictions data.frame from long to wide with models as columns
models_scores_graph-deprecated

models_scores_graph
predict.bm

Functions to get predictions from biomod2_model objects
predict2.bm

Functions to get predictions from biomod2_model objects
getters.out

Functions to extract informations from BIOMOD.models.out, BIOMOD.projection.out or BIOMOD.ensemble.models.out objects
predict2.em

Functions to get predictions from biomod2_ensemble_model objects
zzz_bm

Dummy function to clean working directory after package checks
rast.has.values

Check whether SpatRaster is an empty rast()
response.plot2-deprecated

response.plot2
predict.em

Functions to get predictions from biomod2_ensemble_model objects
summary,BIOMOD.formated.data-method

summary method for BIOMOD.formated.data object class
variables_importance-deprecated

variables_importance
plot,BIOMOD.formated.data,missing-method

plot method for BIOMOD.formated.data object class
.get_categorical_names

Get categorical variable names
sample.factor.levels-deprecated

sample.factor.levels
.get_env_class

Get class of environmental data provided
sre-deprecated

sre