Learn R Programming

mads (version 0.1.6)

Multi-Analysis Distance Sampling

Description

Performs distance sampling analyses on a number of species at once and can account for unidentified sightings, model uncertainty and covariate uncertainty. Unidentified sightings refer to sightings which cannot be allocated to a single species but may instead be allocated to a group of species. The abundance of each unidentified group is estimated and then prorated to the species estimates. Model uncertainty should be incorporated when multiple models give equally good fit to the data but lead to large differences in estimated density / abundance. Covariate uncertainty should be incorporated when covariates cannot be measured accurately, for example this is often the case for group size in marine mammal surveys. Variance estimation for these methods is via a non parametric bootstrap. The methods implemented are described in Gerodette T. and Forcada J. (2005) Non-recovery of two spotted and spinner dolphin populations in the eastern tropical Pacific Ocean.

Copy Link

Version

Install

install.packages('mads')

Monthly Downloads

79

Version

0.1.6

License

GPL (>= 2)

Maintainer

Last Published

May 27th, 2020

Functions in mads (0.1.6)

create.result.arrays

Creates a list of arrays for storing the dht results
fit.ddf.models

Refits the detection functions to the resampled data
format.dht.results

Formats the estimated abundances of all species categories, to be consistent with the prorated results.
resample.data

Resamples the data for the bootstrap
rtpois

Randomly generates values from a zero-truncated Poisson distribution
mae.warning

Warning function
execute.multi.analysis

Performs Multiple Analyses on Distance Data
process.bootstrap.results

Summarises the bootstrap results.
mads.data

Example simulated data used to demonstrate the package functionality
summary.ma.unid

Summary of multi-analysis object
model.description

Extracts the model description
renumber.duplicates

Renumbers the object IDs for the duplicate observations generated when bootstrapping
summary.ma

Summary of multi-analysis object
check.covar.uncertainty

Performs checks on the covariate.uncertainty dataframe
summary.ma.allspecies

Summary of multi-analysis object
process.warnings

Summarises warnings
prorate.unidentified

Prorate the estimated abundances of the unidentified sightings to the other identified species categories.
store.param.ests

Updates bootstrap.ddf.statistics
get.datasets

Extracts the data and models from the ddf objects
summary.ma.allunid

Summary of multi-analysis object
resample.covariates

Parametrically resamples selected variables in the dataset.
summary.ma.species

Print a summary of an element of a multi-analysis result corresponding to a single species included in the analyses.
mads-package

Multi-Analysis Distance Sampling (mads)
summary.ma.analysis

Summary of multi-analysis object
create.obs.table

Creates a subsetted observation table
calculate.dht

Calculates the abundance for each species code including the unidentified codes if supplied.
accumulate.results

Enters the prorated results into the bootstrap.results array
check.convergence

Checks whether the model has converged
check.fitted

Checks whether the model's fitted values make sense
check.species.presence

Checks the list of species presence definitions supplied by the user
create.param.arrays

Creates a list of arrays for storing the ddf results
check.ddf.models

Checks the list of model names supplied by the user
check.species.code.definitions

Checks the list of species code definitions supplied by the user