
Package index
-
to_biomod2() - Arguments for biomod2 from a preENM data design
-
sensitivity_analysessensitivity - How much does the result depend on the analyst's choices?
-
simulate_enm_data() - Simulate example data for trying the package
-
aggregate_ghs() - Aggregate GHS-BUILT-S to ~1 km settlement layers
-
download_landcover() - Download ~1 km land-cover layers (built-up, cropland, water)
-
download_shoreline() - Download a detailed shoreline (GSHHG land polygons)
-
filter_layers() - External layers for occurrence filtering
-
filter_occurrences() - Filter occurrence records with transparent, ordered rules
-
filter_report() - Summary tables of a filtering run
-
filter_sensitivity() - How many records would a threshold remove?
-
filter_settings() - Settings for occurrence filtering
-
filter_tests() - All filtering tests, in the order they are run
-
match_names() - Match the scientific names of occurrence records to a taxonomic backbone
-
read_gbif() - Read a GBIF occurrence download
-
record_fate() - Fate of selected records
-
write_filter_results() - Write the results of a filtering run to CSV files
-
class_polygons() - Polygons of selected raster classes
-
crop_rasters() - Crop and mask many raster files to M (or any polygon), safely and on disk
-
crop_to_m() - Clip rasters to the accessible area (M)
-
delimit_m() - Delimit the accessible area (M) from occurrence records
-
download_regions() - Download biogeographic regions for an accessible area
-
koppen_geiger_labels() - Koppen-Geiger class labels
-
linking_distance() - Linking distance of occurrence records
-
linking_stability() - Stability of the linking distance L
-
m_availability() - How evenly does M offer the conditions the species occupies?
-
m_class_shares() - Shares of raster classes within M (e.g. Koppen-Geiger climates)
-
m_minimal() - Smallest calibration area whose environment has stabilised
-
m_report() - Report of an accessible area (M)
-
m_scenarios() - Compare several M scenarios
-
m_simulate() - Accessible area (M) by simulating dispersal from the records
-
plot(<m_minimal>) - Plot the stabilisation of the environment with the extent
-
plot(<m_simulation>) - Plot a simulated accessible area
-
plot_linking() - Plot the linking-distance diagnostics
-
plot_linking_stability() - Plot the stability of the linking distance L
-
plot_m_area() - Preview of an accessible area (M) or of M scenarios
-
plot_m_availability() - Plot the availability of the records' conditions in M
-
write_m_area() - Write an accessible area (M) and its reports to files
Predictors
Climate indices, climate products, terrain and soil, and the selection of predictors across periods and regions
-
anomaly_climate() - Past climate from present climate and a climate-model anomaly
-
best_sets() - The best variable sets of a selection
-
chelsa_monthly_urls() - URLs of CHELSA V2.1 monthly climatologies
-
climate_index_names() - Names of the climate indices, by group
-
climate_indices() - Derived climate variables from monthly climatologies
-
climate_source_compare() - Compare climate products at the records and across M
-
correlation_by_region() - Correlation of the variables inside every region
-
download_chelsa_monthly() - Download CHELSA V2.1 monthly climatologies, optionally for a region only
-
download_chelsa_trace21k() - Download CHELSA-TraCE21k for past periods, optionally for a region only
-
download_soilgrids() - Download SoilGrids soil layers for a region
-
monthly_files() - Find the 12 monthly files of a variable
-
plot_climate_sources() - Plot a comparison of climate products
-
plot_correlation() - Heatmap of the correlations between variables
-
plot_variable_sets() - Plot the scored variable sets
-
plot_variable_tree() - Dendrogram of the variables, with the best sets below it
-
recommend_sets() - The outcome of a variable selection in plain words
-
sample_environment() - Sample environmental values across periods, scenarios and regions
-
select_variables() - Search all variable sets that pass collinearity limits in every period and region
-
topo_indices() - Terrain indices from an elevation raster
-
trace21k_id() - CHELSA-TraCE21k time-slice ID of an age
-
trace21k_time() - Time steps of CHELSA-TraCE21k
-
trace21k_urls() - URLs of CHELSA-TraCE21k files
-
write_climate_sources() - Write a comparison of climate products to CSV files
-
write_variable_selection() - Write a variable selection to files
-
accessibility_effort() - Recording effort from accessibility: roads, paths, settlements, water
-
background_sufficiency() - How many background points are enough to represent the environment of M?
-
bias_sensitivity() - How do sampling-bias corrections change the data you will model?
-
download_gbif_effort() - Download a GBIF recording-effort table
-
effort_layers() - Recording effort as a covariate, to fit and then hold constant
-
gbif_effort_rasters() - Recording-effort rasters from a GBIF effort table
-
gbif_effort_sql() - SQL query for a GBIF recording-effort layer
-
gbif_target_group_sql() - SQL query for a GBIF target-group download
-
jitter_uncertainty() - Replicate datasets with each record moved within its coordinate uncertainty
-
kept()removed() - Kept or removed records of a filtering or thinning run
-
merge_occurrences() - Merge occurrence records from several sources
-
outside_range() - Flag values outside the calibration range (non-analog climate)
-
plot_background_sufficiency() - Plot the saturation curve of background coverage
-
plot_bias_sensitivity() - Plot the designs of a bias-correction sensitivity analysis
-
plot_env_thinning() - Plot an environmental thinning
-
plot_jitter() - Plot how much the environment of each record varies when jittered
-
plot_sampling_aggregation() - Plot the spatial aggregation of records across grains
-
plot_target_group() - Plot a target group check
-
record_weights() - Weights for records inversely proportional to their local density
-
sample_background() - Background (pseudo-absence) points: uniform, environmental, effort-based
-
sampling_aggregation() - Spatial aggregation of records at several grains
-
target_group_check() - Does the target group share the focal species' observation process?
-
thin_by_cell() - Keep one record per raster cell, centred in the cell
-
thin_distance() - Thin records so that no two are closer than a distance
-
thin_environment() - Thin presence records in environmental space, keeping their environmental coverage
-
uncertainty_environment() - Coordinate uncertainty in environmental terms
-
write_env_thinning() - Write an environmental thinning to files
-
write_jitter() - Write jittered replicate datasets to CSV files
Checking the design
Niche truncation, predictors against random variables, grain, extrapolation, final checks
-
assess_enm_data() - One report of the diagnostics of the data before modelling
-
check_sample_size() - Are there enough records?
-
classify_points()predict(<niche_coverage>) - Place new points in the niche space of a niche_coverage result
-
compare_to_random() - Which predictors are more important than random variables in the models?
-
coordinate_layers() - Coordinate layers to fit together with the predictors
-
environment_shift() - How much does the available environment change between two periods?
-
export_integrated() - Shape occurrence data for integrated species distribution models
-
extrapolation_risk() - Where does a projection leave the conditions of the calibration data?
-
grain_sensitivity() - How the modelling design changes with grain
-
match_climate_period() - Do the records come from the period of the climate data?
-
niche_coverage() - How much of a species' niche does a region contain?
-
niche_truncation() - Is the niche truncated by the calibration area?
-
plot_grain_sensitivity() - Plot how the modelling design changes with grain
-
plot_niche_coverage() - Plot the niche coverage of a region
-
plot_niche_truncation() - Plot of a niche truncation report
-
plot_truncation_remedy() - Map the remedies for a truncated niche
-
random_variables() - Random variables with the values and the spatial structure of real ones
-
truncation_remedy() - What to do about a niche truncated by the calibration area
-
unfilled_records() - Records of the whole range in the unfilled part of the niche
-
variable_relevance() - Does the species respond to each predictor, or could it be chance?
-
write_grain_sensitivity() - Write the grain-sensitivity results to CSV files
-
write_integrated() - Write the datasets for integrated SDMs to files
-
write_truncation_remedy() - Write the parent and child datasets of a nested design
Evaluating and selecting models
Metrics, Pareto selection, calibration, Boyce, responses, importance
-
auc_score() - Area under the ROC curve
-
bias_score() - Bias
-
boyce_index() - Continuous Boyce index
-
brier_decompose() - Brier score decomposition
-
brier_score() - Brier score
-
calibration_curve() - Calibration curve (reliability diagram) of a prediction
-
evaluate_models() - Evaluate one or many models and rank them by Pareto optimality
-
extract_predictions() - Extract model predictions at presence and absence/background points
-
importance_stability() - How stable is variable importance across runs, algorithms and regions?
-
mae_balanced() - Balanced mean absolute error (MAEbal)
-
mae_score() - Mean absolute error
-
pareto_rank() - Pareto ranking and compromise score for multi-criteria model selection
-
plot_boyce() - Plot the P/E curve of the Boyce index
-
plot_calibration() - Reliability diagram
-
plot_importance_stability() - Plot the stability of variable importance
-
plot_pareto()plot(<enm_evaluation>) - Plot models in the space of two metrics with the Pareto front
-
plot_response_check() - Plot response curves with their shape and the density of records
-
plot_selection()plot(<enm_selection>) - Plot a model selection for any pair of metrics
-
response_check() - Check the shape of response curves
-
select_models() - Select models or algorithms by minimum values or Pareto optimality
-
tss_score() - True skill statistic (TSS)
-
age_slice_weights() - Probability of each climate slice from the age of a record
-
age_to_period() - Assign ages to named periods
-
buffer_exclusion() - Training points to exclude around each test fold (buffered CV)
-
calibrate_radiocarbon() - Calibrate radiocarbon ages with IntCal20
-
cv_sensitivity() - How much does the evaluation depend on the cross-validation design?
-
download_neotoma() - Download Neotoma samples
-
environmental_folds() - Assign points to environmentally separated folds
-
evaluate_cv() - Evaluate cross-validated models on their held-out folds
-
fold_report() - Audit a cross-validation fold assignment for leakage
-
fossil_site_bins() - One fossil record per site and time bin
-
geographic_null() - AUC of a geographic-distance null model in cross-validation
-
group_folds() - Leave-one-group-out folds (regions, populations, lineages)
-
neotoma_records() - Prepare fossil samples from Neotoma for temporal validation
-
null_model_test() - Are the models better than expected from where records are collected?
-
plot_cv_sensitivity() - Plot how the evaluation changes with the cross-validation design
-
plot_folds() - Map of cross-validation folds
-
site_bin_slices() - Expand fossil site-bins to one row per climate time slice
-
spatial_folds() - Assign points to spatial cross-validation folds
-
spatial_sorting_bias() - Spatial sorting bias and a distance-matched background
-
suggest_block_size() - A block size for spatial cross-validation
-
temporal_folds() - Temporal folds: blocks of consecutive years
-
temporal_validation() - Validate hindcasts against dated records (e.g. fossils)
Maps, ranges and uncertainty
Ensembles, thresholds, range metrics, projected change, uncertainty, sparseness
-
coordinate_spread() - Spread of predictions attributable to coordinate error
-
ensemble_models() - Combine model predictions into an ensemble, with their disagreement
-
ensemble_scenarios() - How much does the ensemble depend on the method?
-
ignorance_map() - Map of biogeographical ignorance from recording effort
-
null_occurrences() - Random "occurrences" for null models, with the sampling bias of the records
-
partition_uncertainty() - Which source of uncertainty dominates a set of projections, and where?
-
plot_coordinate_spread() - Plot the prediction spread due to coordinate error
-
plot_ensemble() - Plot an ensemble and the disagreement between its models
-
plot_ensemble_pca() - Plot the principal component analysis behind a PCAm ensemble
-
plot_ensemble_scenarios() - Plot the differences between ensemble methods
-
plot_ignorance() - Plot a map of biogeographical ignorance
-
plot_models() - Plot models on any two or three metrics, static or interactive
-
plot_partition() - Plot the partition of projection uncertainty
-
plot_range_metrics() - Plot range metrics under each threshold rule
-
plot_thresholds() - Plot thresholds or their agreement
-
plot_transfer_bias() - Plot the design bias of a projected change
-
range_metrics() - Range metrics of a predicted distribution
-
record_ignorance() - Map of biogeographical ignorance from occurrence records
-
taxon_complexity() - Taxonomic complexity of species names
-
threshold_agreement() - How many threshold rules call each cell suitable?
-
threshold_p10() - Threshold at a given percentile of presence predictions
-
thresholds() - Thresholds of a continuous prediction under several rules
-
transfer_bias_test() - Is a projected change driven by the data or by the study design?
-
write_range_metrics() - Write range metrics to files
-
niche_overlap() - Niche overlap between groups of records
-
odmap_table() - Fill the ODMAP reporting protocol from your preENM workflow
-
overlap_scenarios() - Sensitivity of niche overlap to methodological choices
-
plot_niche_overlap() - Plot niche overlap in environmental space
-
prediction_overlap() - Overlap of model predictions in geographic space