The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

mlsbm

The mlsbm package fits single level stochastic block models (SBMs) and multilevel stochastic block models (MLSBMs) using efficient Gibbs sampling with Rcpp. It can also be used to efficiently sample from SBMs and MLSBMs.

Installation

The mlsbm package can be installed directly from this repository using devtools.

devtools::install_github("carter-allen/mlsbm")

Usage

# load mlsbm package
library(mlsbm)

# load included 3-layer network data
data(AL)

# fit a multilevel SBM with 3 clusters
fit <- fit_mlsbm(AL,3)

# examine the inferred clustering
table(fit$z)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.