S4DM0.0.1 package

Small Sample Size Species Distribution Modeling

descale_w_objects

Return scaled variables to the original scale using means and SDs

dr_maxnet

Density-ratio SDM estimation with Maxnet

dr_rulsif

Density-ratio SDM estimation with RuLSIF

dr_ulsif

Density-ratio SDM estimation with uLSIF

ensemble_range_map

Generate ensemble predictions from S4DM range maps

evaluate_range_map

Evaluate S4DM range map quality

fit_density_ratio

Fit density-ratio distribution models in a plug-and-play framework.

fit_plug_and_play

Fit presence-background distribution models in a plug-and-play framewo...

get_env_bg

Extract background data for SDM fitting.

get_env_pres

Extract presence data for SDM fitting.

get_functions

Internal function for getting available function names.

get_response_curves

Generate Response Curves

make_range_map

Make a range map using plug-and-play modeling.

pnp_gaussian

Internal function for fitting gaussian distributions in plug-and-play ...

pnp_kde

Internal function for fitting KDE distributions in plug-and-play SDMs.

pnp_lobagoc

Internal function for fitting lobagoc distributions in plug-and-play S...

pnp_none

Internal function for returning empty pnp_estimate class models

pnp_rangebagging

Internal function for rangebagging in plug-and-play SDMs.

pnp_vine

Internal function for fitting vine copula distributions in plug-and-pl...

project_density_ratio

Projects fitted density-ratio distribution models onto new covariates.

project_plug_and_play

Projects fitted plug-and-play distribution models onto new covariates.

rescale_w_objects

Rescale a dataset using vectors of means and SDs

sdm_threshold

Thresholds a continuous relative occurrence rate raster to create a bi...

stratify_random

Split data for k-fold spatially stratified cross validation

stratify_spatial

Split data for k-fold spatially stratified cross validation

Implements a set of distribution modeling methods that are suited to species with small sample sizes (e.g., poorly sampled species or rare species). While these methods can also be used on well-sampled taxa, they are united by the fact that they can be utilized with relatively few data points. More details on the currently implemented methodologies can be found in Drake and Richards (2018) <doi:10.1002/ecs2.2373>, Drake (2015) <doi:10.1098/rsif.2015.0086>, and Drake (2014) <doi:10.1890/ES13-00202.1>.

  • Maintainer: Brian S. Maitner
  • License: MIT + file LICENSE
  • Last published: 2025-01-10