summary.bayesTFR.mcmc.set | R Documentation |
Summary of an object bayesTFR.mcmc.set
or bayesTFR.mcmc
, computed via run.tfr.mcmc
or run.tfr3.mcmc
. It can be obtained either for all countries or for a specific country, and either for all parameters or for specific parameters. The function uses the summary.mcmc
function of the coda package.
## S3 method for class 'bayesTFR.mcmc.set'
summary(object, country = NULL, chain.id = NULL,
par.names = NULL, par.names.cs = NULL, meta.only = FALSE,
thin = 1, burnin = 0, ...)
## S3 method for class 'bayesTFR.mcmc'
summary(object, country = NULL, par.names = NULL, par.names.cs = NULL,
thin = 1, burnin = 0, ...)
object |
Object of class |
country |
Country name or code if a country-specific summary is desired. The code can be either numeric or ISO-2 or ISO-3 characters. By default, summary for all countries is generated. |
chain.id |
Identifiers of MCMC chains. By default, all chains are considered. |
par.names |
Country independent parameters to be included in the summary. If the underlying object is an MCMC of phase II, the default names are given by |
par.names.cs |
Country-specific parameters to be included in the summary. If the underlying object is an MCMC of phase II, the default names are given by |
meta.only |
If it is |
thin |
Thinning interval. Only used if larger than the |
burnin |
Number of iterations to be discarded from the beginning of each chain before computing the summary. |
... |
Additional arguments passed to the |
Hana Sevcikova
bayesTFR.mcmc.set
, summary.mcmc
sim.dir <- file.path(find.package("bayesTFR"), "ex-data", "bayesTFR.output")
m <- get.tfr.mcmc(sim.dir)
summary(m, country="CZE", burnin=15)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.