Compute SNAC+ with resampling

snac_resample(A, nrep = 20, Kmin = 1, Kmax = 13, ncores = 10, seed = 1234)

Arguments

A

adjacency matrix

nrep

number of times SNAC+ is computed

Kmin

minimum community number to use in SNAC+

Kmax

maximum community number to use in SNAC+

ncores

number of cores to use in the parallel computing

seed

seed for random sampling

Value

A data frame with columns specifying repetition cycles, number of community numbers and the value of SNAC+ statistics