BinBlocVisu_MLBM {bikm1}R Documentation

BinBlocVisu_MLBM function for visualization of double matrix datasets

Description

Produce a plot object representing the co-clustered data-sets.

Usage

BinBlocVisu_MLBM(x,y,z,v,w)

Arguments

x

first data matrix of observations.

y

second data matrix of observations.

z

a numeric vector specifying the class of rows.

v

a numeric vector specifying the class of columns (1rst matrix).

w

a numeric vector specifying the class of columns (2nd matrix).

Value

a plot object

Examples


require(bikm1)
set.seed(42)
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)
BinBlocVisu_MLBM(data$x,data$y, data$xrow,data$xcolx,data$xcoly)

[Package bikm1 version 1.1.0 Index]