## Not run:
# test1 <- prioriPlot(list(shape=4,rate=2), "gamma",cols=4)
# str(test1)
#
# pars <- list(shape=matrix(1:9,3,3),rate=matrix(9:1,3,3))
# test2 <- prioriPlot(pars, "gamma",breaks=100)
# test3 <- prioriPlot(list(shape=8,rate=2),"gamma",breaks=100,cols=3)
#
# pars4 <- list(shape=matrix(c(6,6,6),1,3), rate=matrix(c(4,4,4),1,3))
# test4 <- prioriPlot(pars4, "gamma",breaks=100)
#
# pars5 <- list(lam=2)
# test5 <- prioriPlot(pars5, "expo",cols=4, breaks=100)
#
# pars6 <- list(lam=matrix(1:9,3,3)/100)
# test6 <- prioriPlot(pars6, "expo", breaks=25, col=grey(0.8))
#
# # example for 3x4-table
# set.seed(568)
# pars7 <- list(shape=matrix(sample(1:20,12), 3,4), rate=matrix(sample(1:20,12),3,4))
# test7 <- prioriPlot(pars7, "gamma",breaks=50)
# ## End(Not run)
Run the code above in your browser using DataLab