Learn R Programming

noisySBM (version 0.1.4)

getBestQ: optimal number of SBM blocks

Description

returns the number of SBM blocks that maximizes the ICL

Usage

getBestQ(bestSolutionAtQ)

Arguments

bestSolutionAtQ

output of fitNSBM(), i.e. a list of estimation results for varying number of latent blocks

Value

a list the maximal value of the ICL criterion among the provided solutions along with the best number of latent blocks

Examples

Run this code
# NOT RUN {
# res_gauss is the output of a call of fitNSBM()
getBestQ(res_gauss)
# }

Run the code above in your browser using DataLab