Description Usage Arguments Details Author(s) References See Also Examples
View source: R/plot.semiList.r
The function plot.mModelList()
creates a grid of panels and then plots a set of input fitted models in the consecutive panels. The plot.mModel()
function is used to plot each single model.
1 2 |
x |
an object of the class |
... |
graphical arguments that are passed to underlying |
The argument x
is a list of models. If these models differ both by component numbers and by the model structures,
in the resulting grid of panels columns correspond to the different model structures while rows correspond to the different component numbers.
If considered models differ only by component numbers or only by the model structures, the grid of panels is as close to square as possible and consecutive panels contain consecutive models from the list of models x
.
Przemyslaw Biecek
Przemyslaw Biecek, Ewa Szczurek, Martin Vingron, Jerzy Tiuryn (2012), The R Package bgmm: Mixture Modeling with Uncertain Knowledge, Journal of Statistical Software.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | simulated = simulateData(d=2, k=3, n=100, m=60, cov="0", within="E", n.labels=2)
models1=mModelList(X=simulated$X, knowns=simulated$knowns, B=simulated$B,
kList=3:4, mean=c("D","E"), between="D", within="D",
cov="0", funct=belief)
plot(models1)
## Do not run
## It could take more than one minute
# simulated = simulateData(d=2, k=3, n=300, m=60, cov="0", within="E", n.labels=2)
#
# models1=mModelList(X=simulated$X, knowns=simulated$knowns, B=simulated$B,
# kList=3, mean=c("D","E"), between=c("D","E"), within=c("D","E"),
# cov=c("D","0"), funct=belief)
# plot(models1)
#
# models2 = beliefList(X=simulated$X, knowns=simulated$knowns, B=simulated$B,
# kList=2:7, mean="D", between="D", within="E", cov="0")
# plot(models2)
#
# models3 = beliefList(X=simulated$X, knowns=simulated$knowns, B=simulated$B,
# kList=2:7, mean="D")
# plot(models3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.