traceplot-pandemicEstimated-method: Draw traceplot of the parameters for the pandemic model

traceplot,pandemicEstimated-methodR Documentation

Draw traceplot of the parameters for the pandemic model

Description

Uses stan's traceplot function to draw the traceplots for the relevant parameters of the estimated model.

Usage

## S4 method for signature 'pandemicEstimated'
traceplot(object, waves = 1:object$n_waves, ...)

Arguments

object

Output of the pandemic_model function

waves

If the estimated model has more than 1 wave, this parameter controls which waves parameters are shown. Default are all waves.

...

Aditional parameters passed on to the traceplot function

See Also

pandemic_model and traceplot

Examples

## Not run: 
dataMG = load_covid("Brazil","MG")
estimMG = pandemic_model(dataMG)
traceplot(estimMG)
## End(Not run)

PandemicLP documentation built on March 18, 2022, 6:22 p.m.