plot.bpwpm: Generic bpwpm plotting

Description Usage Arguments Value Examples

View source: R/plot_funcs.R

Description

Once a bpwpm has been run using the function bpwpm_gibbs, the chains can be plotted and hence evaluated. This generic function builds sets of plots for each parameter of the model, β, w_1, w_2, etc.

Usage

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

Arguments

object

of the class bpwpm

n

number of draws to plot

...

additional parameters to be passed to the functions

Value

a series of line plots and histograms

Examples

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

PaoloLuciano/bpwpm documentation built on May 20, 2019, 4:25 p.m.