cfunction {dga} | R Documentation |
A helper function used in make.strata to make list overlap counts.
cfunction(x, nlist)
x |
capture histories, transformed from binary to decimal |
nlist |
the number of lists |
a table of the number of records with each capture history
Kristian Lum kl@hrdag.org
## The function is currently defined as
cfunction <- function(x, nlist) {
out <- table(c(x, 0:(2^nlist - 1))) - 1
}