plot.epictmcmc {EpiILMCT}R Documentation

Plot the output of epictmcmc object

Description

plot.epictmcmc is an S3 method that plots the output of an S3 object of class epictmcmc.

Usage

  ## S3 method for class 'epictmcmc'
plot(x, epi = NULL, start = NULL, end = NULL, 
  thin = NULL, ...)

Arguments

x

an S3 object of class epictmcmc (i.e. the output of the epictmcmc function).

epi

epidemic data of class datagen.

start, end, thin

options for creating mcmc object.

...

additional arguments that are passed to the generic plot function.

Value

Trace and density plots of the posterior distribution of the model parameters. Additionally, in the case of unobserved event times, a plot of the average posterior and 95% percentile intervals of the inferred event times are produced in new plot window.

See Also

epictmcmc, print.epictmcmc, summary.epictmcmc, mcmc, plot.mcmc.


[Package EpiILMCT version 1.1.3 Index]