Description Usage Arguments Value Author(s) References See Also Examples
Converts a vector of capture counts into a two-column data frame consisting of all capture classes and the individuals associated with each class.
1 | buildClassTable(counts)
|
counts |
A vector of capture count data |
A two-column data frame with the first column specifiying the capture class (where all individuals in class i were caught i times) and the second column specifying the number of individuals in this capture class.
The data frame can be used as the data argument for any of the model-fitting functions implemented in capwire
Matthew W. Pennell
Pennell M.W., C.R. Stansbury, L.P. Waits and C.R. Miller. submitted. capwire: A R Package for Estimating Population Census Size from Non-Invasive Genetic Sampling
buildIndTable
, indToClass
, classToInd
1 2 3 4 5 6 7 8 | ## create a vector of capture counts
counts <- c(1,1,1,1,1,2,2,3,3,4,5)
## build table
data <- buildClassTable(counts)
data
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.