traces-methods: Method to plot Gibbs sampling traces

Description Usage Arguments Value See Also Examples

Description

Method to plot Gibbs sampling traces

Usage

1
2
3
4
traces(object, burnin = TRUE, index = 1)

## S4 method for signature 'Bacon'
traces(object, burnin = TRUE, index = 1)

Arguments

object

'bacon'-object

burnin

include burnin period default true

index

if multiple sets of test-statsistics where provided

Value

plot of the Gibbs Sampler traces

See Also

bacon

Examples

1
2
3
4
y <- rnormmix(2000, c(0.9, 0, 1, 0, 4, 1))
##nbins = 100 to speed up the calculations
bc <- bacon(y, nbins=100)
traces(bc)

Example output

Loading required package: ggplot2
Loading required package: BiocParallel
Loading required package: ellipse

Attaching package: 'ellipse'

The following object is masked from 'package:graphics':

    pairs

bacon documentation built on Nov. 8, 2020, 4:54 p.m.