Species Distribution Models with Tidymodels
Add best member of workflow to a simple ensemble
Add repeat(s) to a repeated ensemble
Plot the results of a simple ensemble
Create a ggplot for a spatial initial rsplit.
Convert an object created with blockCV to an rsample object
Boyce continuous index (BCI)
Calibrate class thresholds
Check that we have a valid pair of coordinate names
Check that the column with presences is correctly formatted
Check the balance of presences vs pseudoabsences among splits
Clamp the predictors to match values in training set
Obtain and format the class thresholds for ensemble objects
Obtain and format results produced by tuning functions for ensemble ob...
Make a confusion matrix dataframe for multiple thresholds
Control wrappers
Distance between the distribution of climate values for presences vs b...
Create explainer from your tidysdm ensembles.
Multivariate environmental similarity surfaces (MESS)
Filter to retain only variables that have low collinearity
Deprecated: Filter to retain only variables below a given correlation ...
Get the response variable from a formula
Create a formula for gam
Split violin geometry for ggplots
Get default grid cellsize for a given dataset
Get default grid cellsize for a given dataset
Maximum Cohen's Kappa
Convert a geographic distance from km to m
Make a mask from presence data
Parameters for maxent models
MaxEnt model
Wrapper to fit maxnet models with formulae
Wrapper to predict maxnet models
Compute overlap metrics of the two niches
Find threshold that maximises Kappa
Find threshold that gives a target sensitivity
Find threshold that maximises TSS
Find threshold that optimises a given metric
Warn if some times are outside the range of time steps from a raster
Pairwise matrix of scatterplot for stars objects
Pipe operator
Plot presences vs background
Make predictions for a whole raster
Predict for a repeat ensemble set
Predict for a simple ensemble set
Probability metrics for sf objects
simple function to convert probability to binary classes
Recipe for sf objects
Repeat ensemble
Sample background points for SDM analysis for points with a time point...
Sample background points for SDM analysis
Sample pseudo-absence points for SDM analysis for points with a time p...
Sample pseudo-absence points for SDM analysis
Metric set for SDM
Model specification for a Boosted Trees model for SDM
Model specification for a GAM for SDM
Model specification for a GLM for SDM
Model specification for a MaxEnt for SDM
Model specification for a Random Forest for SDM
Simple ensemble
Simple Training/Test Set Splitting for spatial data
Thin point dataset to have 1 observation per raster cell per time slic...
Thin point dataset to have 1 observation per raster cell
Thin points dataset based on geographic and temporal distance
Thin points dataset based on geographic distance
tidysdm: Species Distribution Models with Tidymodels
Maximum TSS - True Skill Statistics
TSS - True Skill Statistics
Convert a time interval from years to days
Fit species distribution models (SDMs) using the 'tidymodels' framework, which provides a standardised interface to define models and process their outputs. 'tidysdm' expands 'tidymodels' by providing methods for spatial objects, models and metrics specific to SDMs, as well as a number of specialised functions to process occurrences for contemporary and palaeo datasets. The full functionalities of the package are described in Leonardi et al. (2024) <doi:10.1111/2041-210X.14406>.
Useful links