plot.bpwpm: Generic bpwpm object plotting

Description Usage Arguments Value Examples

Description

Once a bpwpm has been run using the function bpwpm2_gibbs, the chains can be plotted and hence evaluated. This generic function creates 3 set of graphs for the parameters β of the model: - Ergodic means - Trace of the parameters (in groups of size m) - Histograms of the parameters (in groups of size m)

Usage

1
2
## S3 method for class 'bpwpm'
plot(object, n = 1000, m = 5, ...)

Arguments

object

of the class bpwpm

n

number of draws to plot (the function plots from the end, ie: n = 100 will plot the last 100 draws of the chain)

...

additional parameters to be passed to the functions

Value

a series of line plots and histograms

Examples

1
(model1, 1000), (model2, 2000)

PaoloLuciano/bpwpm2 documentation built on June 6, 2019, 5:47 p.m.