plot-BIKM1_MLBM_Binary-method: Plot method for a 'BIKM1_MLBM_Binary' object

Description Usage Arguments Value Examples

Description

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.

Usage

1
2
## S4 method for signature 'BIKM1_MLBM_Binary'
plot(x, y, ...)

Arguments

x

an object of class BIKM1_MLBM_Binary.

y

a list specifying :

x: the first matrix of observations

y: the second matrix of observations.

...

in the plot method, additional parameters (ignored)

Value

Two plot and on ggplot2 object.

Examples

 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)

bikm1 documentation built on July 16, 2021, 9:08 a.m.