tauKmeansSbm {ppsbm} | R Documentation |
k-means for SBM
Description
k-means for SBM
Usage
tauKmeansSbm(statistics, n, Q, directed)
Arguments
statistics |
Statistics matrix |
n |
Total number of nodes |
Q |
Total number of groups |
directed |
Boolean for directed (TRUE) or undirected (FALSE) case |
Value
Initial values for \tau
Examples
n <- 50
Q <- 3
Dmax <- 2^3
Nijk <- statistics(generated_Q3$data,n,Dmax,directed=FALSE)
tau <- tauKmeansSbm(Nijk,n,Q,FALSE)
[Package ppsbm version 0.2.2 Index]