View source: R/strata_collapse.R
strata_collapse | R Documentation |
Collapses an initial strata scheme (e.g., 7 days) into strata containing at least the designated number of recaps. Seven day strata may become 14 days if recaps in the first strata are less than designated number.
strata_collapse(x, recaps)
x |
vector of recaps |
recaps |
number of designated recaps |
Ryan N. Kinzer
x <- c(1,1,1,4,1,1,2,2,2,1,6,7)
strata_collapse(x, 7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.