getResults: Get results from MCMC estimation

Description Usage Arguments Value See Also

View source: R/getresults.R

Description

Get results from MCMC estimation

Usage

1
2
3
getResults(mod, method, time.trend = NULL, iso.number = NULL,
  nyears = NULL, startyear = NULL, return.sims = FALSE,
  alpha.level = 0.05)

Arguments

mod

A JAGS model object

method

The method of smoothing to implement (choices: ar, arma, splines, gp)

time.trend

For global models, whether a time.trend is included.

iso.number

The index number for country of interest, if model is global.

nyears

The number of observation years for country of interest

startyear

The year of first observation for country of interest, if model is global.

return.sims

Whether or not to return draws from posterior.

alpha.level

Significance level. Default is 5%.

Value

A data frame of x values, estimates and uncertainty intervals.

See Also

runMCMC, plotResults


MJAlexander/distortr documentation built on July 17, 2020, 4:06 p.m.