dotplot.gp.list: Dotplot of posterior graph probabilities.

Description Usage Arguments See Also Examples

View source: R/post.R

Description

method description

Usage

1
2
3
  ## S3 method for class 'gp.list'
 dotplot(gplist, subsetBy = "Exact",
    head = 30, ...)

Arguments

gplist

...

subsetBy

...

head

...

...

Further arguments passed to method

See Also

xyplot.gp.list, dotplot.gp

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
x1 <- factor(c(1, 1, 0, 1))
x2 <- factor(c(0, 1, 0, 1))
x <- data.frame(x1 = x1, x2 = x2)

exact <- posterior(data = x, "exact")
mcmc <- posterior(data = x, "mc3", nSamples = 500, nBurnin = 100)

mygp1 <- gp(exact)
mygp2 <- gp(mcmc)
if (require(lattice)){
  dotplot(gp.list(Exact = mygp1, MCMC = mygp2))
}

rjbgoudie/structmcmc documentation built on Nov. 3, 2020, 3:41 a.m.