Learn R Programming

bikm1 (version 1.1.0)

BinBlocVisuResum_LBM: BinBlocVisuResum_LBM function for visualization of binary matrix data-sets

Description

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

Usage

BinBlocVisuResum_LBM(x,z,v)

Arguments

x

binary matrix of observations.

z

a numeric vector specifying the class of rows.

v

a numeric vector specifying the class of columns.

Value

a plot object.

Examples

Run this code
# NOT RUN {
require(bikm1)
set.seed(42)
n=200
J=120
g=3
h=2
theta=list()
theta$pi_g=1/g *matrix(1,g,1)
theta$rho_h=1/h *matrix(1,h,1)
theta$alpha_gh=matrix(runif(6),ncol=h)
data=BinBlocRnd_LBM(n,J,theta)
BinBlocVisuResum_LBM(data$x,data$xrow,data$xcol)
# }

Run the code above in your browser using DataLab