snac_resample {nett}R Documentation

Resampled SNAC+

Description

Compute SNAC+ with resampling

Usage

snac_resample(
  A,
  nrep = 20,
  Kmin = 1,
  Kmax = 13,
  ncores = parallel::detectCores() - 1,
  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


[Package nett version 1.0.0 Index]