
Last chance! 50% off unlimited learning
Sale ends in
This function pools together individuals with the same encounter capture-recapture history.
group_data(X, effX)
matrix with grouped capture-recapture histories and counts in the last column
matrix of capture-recapture histories
vector with numbers of individuals with that particular capture-recapture history
Olivier Gimenez <olivier.gimenez@cefe.cnrs.fr>, Roger Pradel, Rémi Choquet
# Generate fake capture-recapture dataset
X = matrix(round(runif(300)),nrow=100)
freq=rep(1,100)
cbind(X,freq)
group_data(X,freq)
Run the code above in your browser using DataLab