Description Usage Arguments Value Examples
Produce respectively a plot of two-dimensional segmentation of a BIKM1_MLBM_Binary
fit, and a boxplot of conditional posteriors for each row and column cluster.
1 2 |
x |
an object of class |
y |
a list specifying :
|
... |
in the plot method, additional parameters (ignored) |
Two plot and on ggplot2 object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | require(bikm1)
n=200
J=120
K=120
g=3
h=2
l=2
theta=list()
theta$pi_g=1/g *matrix(1,g,1)
theta$rho_h=1/h *matrix(1,h,1)
theta$tau_l=1/l *matrix(1,l,1)
theta$alpha_gh=matrix(runif(6),ncol=h)
theta$beta_gl=matrix(runif(6),ncol=l)
data=BinBlocRnd_MLBM(n,J,K,theta)
res=BIKM1_MLBM_Binary(data$x,data$y,3,3,3,4)
plot(res,data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.