Skip to content

mrds

3.0.1

Mark-Recapture Distance Sampling

3packages depend
18.4Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Animal abundance estimation via conventional, multiple covariate and mark-recapture distance sampling (CDS/MCDS/MRDS). Detection function fitting is performed via maximum likelihood. Also included are diagnostics and plotting for fitted detection functions. Abundance estimation is via a Horvitz-Thompson-like estimator.

Changes in 3.0.1

Bug Fixes

  • Fixed formatting issue in flnl.grad help
  • Fixed output for gof test when degrees of freedom for MR models is <= 0 (Issue #96)
  • Now displays a warning if the user tries to fit a detection function with covariates using MCDS.exe which is not either a half-normal or a hazard rate model. (Issue #113)
  • Fixed so that the MCDS.exe does not try to fit a negative exponential in place of a gamme key function. (Issue #113)
  • Now issues warnings when there is only a single transect and varflag option is 1 or 2. (Issue #115)
  • No longer plots data points on detection functions for binned analyses, only shows the interval bins.
  • Add a check and a warning when the object field of the obs.table is not numeric. (Distance Issue #165)

Enhancements

  • Documentation of dht.se to show variance calculations for varflag options (Issue #117)
  • Modified the bysample table returned from dht (Issues #60 and #100)
  • Clarified documentation regarding summary table output from dht.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-08
  • WARNING12 OK, 1 WARNING2026-06-07
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 3.0.1
READMEYes · 308 wordsVignettes· In the repository, left out of the releaseNEWSYes · 100% structured · mentions 3.0.1Citation fileNo
Help pages
140 (3 internal)includes a package overview page
Examples that run
6%1 run in a plain check · 12 only when donttest examples are enabled (R CMD check --as-cran) · 4 never run
Exported functions with examples
25%
Documented parameters
98%
Return-value docs
100%
Help pages citing references
18% with a bibliography file

Downloads

18.4K
CRAN downloads in the past year
Rank #2,919 · ~50/day · ~1.5K/mo
Daily download trend is not available in this view yet.
2.3K30 days
4.8K90 days
18.4K1 year
Compare downloads with other packages →
Also on147 r2u9 autocran134 c2d4u

Repository

4Stars
5Forks
17Open issues
0Open PRs
13Releases
1,033Commits
7Commit identities
License file reads as GPL-3.0 · 1,033 commits · Last activity 2025-09-16
Responsiveness
How these are sampled
PRs merged (all time)
83%
Median days to close, 50 most recently updated closed issues
84
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2023-11-13 · 32026-07-07 · 4
PracticesBeta

5 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/distancedevelopment/mrds on 2026-10-11.

Continuous integration (2)
GitHub ActionsTravis CI (config file)
Docs source (2)
pkgdown

GitHub Pages site last deployed 2025-09-16

Coverage (1)
Coverage reporting
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing mrds adds 16 packages (8 with compiled code, 10 MB of source tarballs). Heaviest: optimx 2.2 MB, nloptr 2.1 MB, Rcpp 1.8 MB.

Depends (1)
R >= 4.1.0
Imports (7)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
2indirect
Depends 2 · Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (9)
Maintainer · added in 3.0.0
Author · added in 3.0.0
Contributor
Contributor
Contributor · added in 2.2.9
Contributor
Reviewer · added in 3.0.0

Maintainer since 2.1.16 (2016), previously David Miller (2.1.5 to 2.1.14) and Jeff Laake (2.0.5 to 2.1.4)

Releases (28)

Pick two releases to compare their code metrics.

Show 28 earlier eventsHide 28 earlier events
  • 2.2.2
    record
    2020-05-12 · diff ↗ ·
    added 2 exports
    add_df_covar_line, p_dist_table
  • R
    R 4.0.0 released · 2020-04-24
  • 2.2.1
    record
    2020-01-22 · diff ↗ ·
    added 2 exports
    solvecov, varn
  • R
    R 3.6.0 released · 2019-04-26
  • 2.2.0
    record
    2018-06-27 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.1.18
    record
    2017-07-04 · diff ↗ ·
    added 1 export
    create.bins
  • R
    R 3.4.0 released · 2017-04-21
  • 2.1.17
    record
    2016-10-03 · diff ↗
  • 2.1.16
    record
    2016-08-10 · diff ↗ ·
    added 3 exports
    assign.par, create.ddfobj, detfct
  • R
    R 3.3.0 released · 2016-05-03
  • 2.1.14
    record
    2015-07-29 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 2.1.12
    record
    2015-02-05 · diff ↗
  • 2.1.10
    record
    2014-09-27 · diff ↗
  • 2.1.8
    record
    2014-09-16 · diff ↗ ·
    removed 3 exports
    plot.io, plot.rem, plot.rem.fi
  • 2.1.6
    record
    2014-06-11 · diff ↗
  • 2.1.5
    record
    2014-04-22 · diff ↗ ·
    added 1 export
    check.mono
  • R
    R 3.1.0 released · 2014-04-10
  • 2.1.4
    record
    2013-09-23 · diff ↗
  • 2.1.3
    record
    2013-08-13 · diff ↗
  • 2.1.2
    record
    2013-06-26 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 2.1.0
    record
    2012-12-11 · diff ↗
  • 2.0.9
    record
    2012-12-04 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 2.0.5
    record
    2012-03-27
  • R
    R 2.14.0 released · 2011-10-31

Package metadata

First published
2012-03-27
Total releases
28 / 14 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1.0
Bundled data
79 KB / 10 files
Download size
401 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("mrds")
Marshall, L., Bishop, J., Borchers, D., Laake, J., McArthur, J., Miller, D., Petersma, F., Rexstad, E., & Thomas, L. (2025). mrds: Mark-Recapture Distance Sampling (Version 3.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.mrds

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mrds version 3.0.1 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy