| NSBMtest {noisysbmGGM} | R Documentation |
NoisySBM for test
Description
Example of NoisySBM data
Usage
NSBMtest
Format
dataMatrixA square matrix containing the observation of the graph
thetaTrue NSBM parameters
latentZTrue latent clustering
latentAdjTrue latent adjacency matrix
Examples
main_noisySBM(NSBMtest$dataMatrix,NIG=TRUE,Qup=10,nbOfZ=1,nbCores=1)
#Note : These data were created using the following instructions
p=50
Q=6
pi=c(1/6,1/6,1/6,1/6,1/6,1/6)
w=c(0.811,0.001,0.001,0.001,0.001,0.001,0.811,0.011,0.001,0.001,0.001,
0.811,0.001,0.001,0.001,0.811,0.001,0.001,0.811,0.011,0.811)
theta=list(pi=pi,w=w,nu0=c(0,1))
theta$nu <- array(0, dim = c(Q*(Q+1)/2, 2))
theta$nu[,1] <- rep(2,21)
theta$nu[,2] <- rep(2,21)
NSBMtest=rnsbm(p,theta)
[Package noisysbmGGM version 0.1.2.3 Index]