Description Usage Arguments Value
View source: R/post_analyses.R
Given the name of a location and its corresponding index, returns only those parameters relevant to that location from the MCMC chain
1 | isolate_location(local, i, chains, parTab, extraNames = NULL)
|
local |
the name of the location |
i |
the index of the location used for indexing the right column (for example, first location in the table is 0, second is 1 etc...) |
chains |
the MCMC chain to extract from |
parTab |
the parameter table used to generate this MCMC chain. This is needed to ensure that parameter names are correct |
extraNames |
vector of additional names in the MCMC chain |
an MCMC chain for just this location, with R0 and attack rate calculated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.