Welcome to ClientVPS Mirrors

README

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)

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.