group_data_gen: Group individual capture-recapture data in encounter...

View source: R/group_data_gen.R

group_data_genR Documentation

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

Description

This function pools together individuals with the same encounter capture-recapture history along specified directions given by columns.

Usage

group_data_gen(X, effX, s)

Arguments

X

matrix of capture-recapture histories

effX

vector with numbers of individuals with that particular capture-recapture history

s

scalar or vector of columns along which the grouping should be done

Value

matrix with grouped capture-recapture histories and counts in the last column

Author(s)

Olivier Gimenez <olivier.gimenez@cefe.cnrs.fr>, Roger Pradel, RĂ©mi Choquet


oliviergimenez/R2ucare documentation built on July 17, 2022, 7:23 p.m.