snac_select | R Documentation |
Applying SNAC+ test sequentially to estimate community number of a network fit to DCSBM
snac_select( A, Kmin = 1, Kmax, alpha = 1e-05, labels = NULL, cluster_fct = spec_clust, ... )
A |
adjacency matrix. |
Kmin |
minimum candidate community number. |
Kmax |
maximum candidate community number. |
alpha |
significance level for rejecting the null hypothesis. |
labels |
a matrix with each column being a row label vector for a
candidate community number. If not provided, will be computed by |
cluster_fct |
community detection function to get label vectors to compute SNAC+ statistics (in snac_test), by default using spec_clust. |
... |
additional arguments for |
estimated community number.
snac_test
A <- sample_dcpp(500, 10, 3, 0.1)$adj snac_select(A, Kmax = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.