plot,BIKM1_MLBM_Binary-method {bikm1}R Documentation

Plot method for a BIKM1_MLBM_Binary object

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

## 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

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)

[Package bikm1 version 1.1.0 Index]