Learn R Programming

PandemicLP (version 1.3.0)

traceplot,pandemicEstimated-method: 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 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

Run this code
# NOT RUN {
dataMG = load_covid("Brazil","MG")
estimMG = pandemic_model(dataMG)
traceplot(estimMG)
# }

Run the code above in your browser using DataLab