Learn R Programming

R2ucare (version 1.0.3)

Goodness-of-Fit Tests for Capture-Recapture Models

Description

Performs goodness-of-fit tests for capture-recapture models as described by Gimenez et al. (2018) . Also contains several functions to process capture-recapture data.

Copy Link

Version

Install

install.packages('R2ucare')

Monthly Downloads

38

Version

1.0.3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Olivier Gimenez

Last Published

November 23rd, 2025

Functions in R2ucare (1.0.3)

pooling_ct

Pooling algorithm (multisite goodness-of-fit tests)
repmat

Replicate and tile a matrix
testMltec

TestM.LTEC
test3sm

Test3.SM
test3Gwbwa

Test3G.WBWA
ungroup_data

Ungroup encounter capture-recapture data in individual histories
pooling_mixtures

Pooling algorithm (multisite goodness-of-fit tests)
test2cl

Test2.CL
test2ct

Test2.CT
test3Gsr

Test3G.SR
test3Gsm

Test3G.SM
ind_test_22

Test of independence for 2x2 contingency tables
deviance_mixture

Deviance of multinomial mixture distributions
coef_mixtures

Estimation of multinomial mixture distributions parameters
multimarray

Multistate m-array
overall_CJS

Overall goodness-of-fit test for the Cormack-Jolly-Seber model
expval_table

Expected values in a contingency table
pool2K

Pooling algorithm
overall_JMV

Overall goodness-of-fit test for the Jolly-Move model
test3sr

Test3.SR
inv_logit_gen

Inverse generalized logit link
ind_test_rc

Test of independence for rxc contingency tables
group_data

Group individual capture-recapture data in encounter histories
reconstitution

Reformat outputs of multinomial mixture distributions parameters
gof_test

Goodness-of-fit test for contingency tables
marray

m-array: table of first recaptures
group_data_gen

Group individual capture-recapture data in encounter histories along specific column(s)
testMitec

TestM.ITEC
read_headed

Read capture-recapture data with Headed format used by program E-SURGE
read_inp

Read capture-recapture data with Input (.inp) format used by program MARK