freq_data: Convert capture-recapture configurations into frequency data
Description
Given a matrix of observed capture-recapture configurations, convert the data to a matrix of frequencies having the same number of rows and a number of columns equal to the number of possible configurations.
Usage
freq_data(R,count=rep(1,nrow(R)))
Value
Y
Matrix of frequency of each capture configuration of size n x (2^J)
Arguments
R
Matrix of size n (sample size) x J (number of capture occastions) of observed capture-recapture configurations