Latent and Stochastic Block Model estimation by a Variational EM algorithm. Various probability distribution are provided (Bernoulli, Poisson…), with or without covariates.
blockmodels was written by Jean-Benoist Leger, its original author and main developer. If you use it, please cite:
Jean-Benoist Leger (2016). Blockmodels: A R-package for estimating in Latent Block Model and Stochastic Block Model, with various probability functions, with or without covariates. arXiv:1602.07587.
(see also citation("blockmodels")).
The stable version of blockmodels can be installed from CRAN with:
install.packages("blockmodels")The development version can be installed from GitHub with:
# install.packages("pak")
pak::pak("GrossSBM/blockmodels")The package documentation is available on CRAN and on the package website.