Description Usage Arguments Examples
Plot a levelplot
displaying the
edge probabilities.
1 2 | ## S3 method for class 'ep.list'
levelplot(eplist)
|
eplist |
An |
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)
myep1 <- ep(exact)
myep2 <- ep(mcmc)
if (require(lattice)){
levelplot(ep.list(Exact = myep1, MCMC = myep2))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.