Learn R Programming

dsm - Density surface modelling

What is dsm?

dsm provides a Generalized Additive Model (GAM)-based approach to calculate spatially-explicit estimates of animal abundance from distance sampling (also presence/absence and strip transect) data. Several utility functions are provided for model checking, plotting and variance estimation.

Open Access paper describing the methods: Miller, DL, ML Burt, EA Rexstad and L Thomas (2013). Spatial models for distance sampling data: recent developments and future directions. Methods in Ecology and Evolution.

Using dsm

Examples of how to use dsm and other distance sampling R packages are available at examples.distancesampling.org.

Copy Link

Version

Install

install.packages('dsm')

Monthly Downloads

458

Version

2.3.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

August 20th, 2022

Functions in dsm (2.3.3)

dsm.var.movblk

Variance estimation via parametric moving block bootstrap
dsm_var_gam

Prediction variance estimation assuming independence
generate.mb.sample

Moving block bootstrap sampler
dsm_var_movblk

Variance estimation via parametric moving block bootstrap
make.soapgrid

Create a knot grid for the internal part of a soap film smoother.
generate.ds.uncertainty

Generate data from a fitted detection function
dummy_ddf

Detection function objects when detection is certain
mexdolphins

Pan-tropical spotted dolphins in the Gulf of Mexico
latlong2km

Convert latitude and longitude to Northings and Eastings
dsm_var_prop

Prediction variance propagation for DSMs
dsm_varprop

Variance propagation for density surface models
predict.fake_ddf

Prediction for fake detection functions
plot_pred_by_term

Spatially plot predictions per model term
plot.dsm

Plot a density surface model.
print.summary.dsm.var

Print summary of density surface model variance object
plot.dsm.var

Create plots of abundance uncertainty
predict.dsm

Predict from a fitted density surface model
print.dsm_varprop

Print a description of a density surface model variance object
print.dsm.var

Print a description of a density surface model variance object
obs_exp

Observed versus expected diagnostics for fitted DSMs
print.dsm

Print a description of a density surface model object
rqgam.check

Randomised quantile residuals check plot for GAMs/DSMs
vis_concurvity

Visualise concurvity between terms in a GAM
trim.var

Trimmed variance
print.summary.dsm_varprop

Print summary of density surface model variance object
rqgam_check

Randomised quantile residuals check plot for GAMs/DSMs
summary.dsm.var

Summarize the variance of a density surface model
summary.dsm_varprop

Summarize the variance of a density surface model
vis.concurvity

Visualise concurvity between terms in a GAM
summary.dsm

Summarize a fitted density surface model
dsm.cor

Check for autocorrelation in residuals
dsm_cor

Check for autocorrelation in residuals
block.info.per.su

Find the block information
dsm.var.prop

Prediction variance propagation for DSMs
dsm.var.gam

Prediction variance estimation assuming independence
dsm-data

Data format for DSM
check.cols

Check column names exist
dsm

Fit a density surface model to segment-specific estimates of abundance or density.
dsm-package

Density surface modelling