identify_run_lengths | R Documentation |
For each individual and MCMC iteration, uses the infection history MCMC chain and detects runs of consecutive infections.
identify_run_lengths(inf_chain)
inf_chain |
data table of the infection histories posterior |
a tibble giving the consecutive infection run length, the start and end time of each run, which index the run is (ie., which distinct infection), and the time from the end of the previous run, for each i and samp_no
## Not run:
identify_run_lengths(inf_chain)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.