BLSM: Bayesian Latent Space Model

Provides a Bayesian latent space model for complex networks, either weighted or unweighted. Given an observed input graph, the estimates for the latent coordinates of the nodes are obtained through a Bayesian MCMC algorithm. The overall likelihood of the graph depends on a fundamental probability equation, which is defined so that ties are more likely to exist between nodes whose latent space coordinates are close. The package is mainly based on the model by Hoff, Raftery and Handcock (2002) <doi:10.1198/016214502388618906> and contains some extra features (e.g., removal of the Procrustean step, weights implemented as coefficients of the latent distances, 3D plots). The original code related to the above model was retrieved from <>. Users can inspect the MCMC simulation, create and customize insightful graphical representations or apply clustering techniques.

Version: 0.1.0
Depends: R (≥ 3.3.0)
Imports: Rcpp (≥ 0.12.4)
LinkingTo: Rcpp, RcppEigen
Suggests: rgl (≥ 0.98.1)
Published: 2018-04-26
Author: Alberto Donizetti [aut, cre], Francesca Ieva [ctb]
Maintainer: Alberto Donizetti <albe.donizetti at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: BLSM results


Reference manual: BLSM.pdf
Package source: BLSM_0.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X binaries: r-release: BLSM_0.1.0.tgz, r-oldrel: BLSM_0.1.0.tgz


Please use the canonical form to link to this page.