PoissonBlocVisu {bikm1} | R Documentation |
PoissonBlocVisu function for visualization of contingency datasets
Description
Produce a plot object representing the co-clustered data-sets.
Usage
PoissonBlocVisu(x,v,w)
Arguments
x |
contingency matrix of observations. |
v |
a numeric vector specifying the class of rows. |
w |
a numeric vector specifying the class of columns. |
Value
a plot object
Examples
require(bikm1)
J=200
K=120
h=3
l=2
theta=list()
theta$rho_h=1/h *matrix(1,h,1)
theta$tau_l=1/l *matrix(1,l,1)
theta$gamma_hl=matrix(c(1, 6,4, 1, 7, 1),ncol=2)
data=PoissonBlocRnd(J,K,theta)
PoissonBlocVisu(data$x,data$xrow,data$xcol)
[Package bikm1 version 1.1.0 Index]