R2ucare

R package to perform goodness-of-fit tests for capture-recapture models (and various manipulations)

https://github.com/oliviergimenez/r2ucare

Science Score: 33.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: wiley.com
  • Committers with academic emails
    1 of 4 committers (25.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.5%) to scientific vocabulary

Keywords

arnason-schwarz-models capture-recapture-models cormack-jolly-seber goodness-of-fit rstats
Last synced: 10 months ago · JSON representation

Repository

R package to perform goodness-of-fit tests for capture-recapture models (and various manipulations)

Basic Info
Statistics
  • Stars: 6
  • Watchers: 2
  • Forks: 5
  • Open Issues: 0
  • Releases: 0
Topics
arnason-schwarz-models capture-recapture-models cormack-jolly-seber goodness-of-fit rstats
Created almost 10 years ago · Last pushed about 4 years ago
Metadata Files
Readme

README.md

R2ucare

CRAN
Status

What it does (and does not do)

This package contains R functions to perform goodness-of-fit tests for capture-recapture models. It also has various functions to manipulate capture-recapture data. Please email all suggestions for improvements, questions, comments and bugs to olivier.gimenez[at]cefe[dot]cnrs[dot]fr.

For Cormack-Jolly-Seber models (single-state), we refer to Lebreton et al. (1992) and Pradel et al. (2005) for the theory. For Arnason-Schwarz models (multistate), have a look to Pradel et al. (2003). Chapter 5 of the Gentle Introduction to MARK also provides a good start for understanding goodness-of-fit tests.

Warning: to date, no goodness-of-fit test exists for models with individual covariates (unless you discretize them and use groups), individual time-varying covariates (unless you treat them as states) or temporal covariates; therefore, remove these covariates from your dataset before using it with R2ucare. For groups, just treat groups separately as in the Dipper example below.

To install the package

The latest stable version of the package can be downloaded from CRAN with the R command install.packages("R2ucare")

The repository on GitHub https://github.com/oliviergimenez/R2ucare hosts the development version of the package, to install it: R if(!require(devtools)) install.packages("devtools") devtools::install_github("oliviergimenez/R2ucare")

Despite what its name might suggest, you do not need to download and install U-CARE to run the R2ucare package. This package is basically a Matlab to R translation of U-CARE (Choquet et al. 2009).

Getting started

The simplest way to get started is to have a look to the R2ucare vignette.

How to cite R2ucare?

Please, cite our (free access) paper if you use R2ucare:

Gimenez, O, Lebreton, J-D, Choquet, R, Pradel, R. (2018) R2ucare: An R package to perform goodness-of-fit tests for capture–recapture models. Methods in Ecology and Evolution 9: 1749-1754.

A bibtex entry is as follows:

@Article{, title = {R2ucare: An {R} package to perform goodness-of-fit tests for capture–recapture models}, author = {{Gimenez} and {Olivier} and {Lebreton} and {Jean-Dominique} and {Choquet} and {Rémi} and {Pradel} and {Roger}}, journal = {Methods in Ecology and Evolution}, year = {2018}, volume = {9}, number = {7}, pages = {1749-1754}, url = {https://oliviergimenez.github.io/R2ucare/}, }

To-do list

  1. Fix bugs
  2. Add more tests (any help welcome)
    • gof test for recovery data
    • gof test for mixture of recapture and recoveries (based on Rachel McCrea's work)
    • gof tests for heterogeneity in detection and in transition propensity, test for underlying state-structure (based on Anita Jeyam's work)
    • Gof tests for closed pop models
    • Gof tests for occupancy models (relevant?)
  3. Make it more user-friendly
    • decision trees to suggest what to do when things go wrong
    • pass testMitec, testMltec and AS/JMV model fitting in C++ using Rcpp
    • mosaic plot for wbwa, and other ways to visually represent contingency tables for the other tests
    • class ucare

References

Owner

  • Name: Olivier Gimenez
  • Login: oliviergimenez
  • Kind: user
  • Location: Montpellier
  • Company: CNRS

Scientist. Statistical ecology. Modelling and conservation sciences.

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 119
  • Total Committers: 4
  • Avg Commits per committer: 29.75
  • Development Distribution Score (DDS): 0.202
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
oliviergimenez o****z@c****r 95
MurrayEfford M****d 22
Olivier Gimenez o****z@M****l 1
Ben Stevenson b****n@a****z 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 4
  • Total pull requests: 3
  • Average time to close issues: 10 days
  • Average time to close pull requests: 3 days
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • MurrayEfford (4)
Pull Request Authors
  • b-steve (3)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 251 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 2
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: R2ucare

Goodness-of-Fit Tests for Capture-Recapture Models

  • Versions: 2
  • Dependent Packages: 1
  • Dependent Repositories: 2
  • Downloads: 251 Last month
Rankings
Forks count: 10.8%
Dependent packages count: 18.3%
Dependent repos count: 19.5%
Stargazers count: 20.7%
Average: 25.3%
Downloads: 57.1%
Last synced: about 1 year ago

Dependencies

DESCRIPTION cran
  • R >= 3.3.0 depends
  • RMark * imports
  • stats * imports
  • stringr * imports
  • utils * imports
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests