Package: BLSM
Title: Bayesian Latent Space Model
Version: 0.1.1
Date: 2026-08-31
Authors@R: c(
	person("Alberto", "Donizetti", email = "albe.donizetti@gmail.com", role = c("aut", "cre")),
	person("Francesca", "Ieva", email = "francesca.ieva@polimi.it", role = "ctb"))
Description: 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
        <https://www2.stat.duke.edu/~pdh10/Code/hoff_raftery_handcock_2002_jasa/>.
        Users can inspect the MCMC simulation, create and customize
        insightful graphical representations or apply clustering
        techniques.
Depends: R (>= 3.3.0)
Imports: Rcpp (>= 0.12.4)
Suggests: rgl (>= 0.98.1)
LinkingTo: Rcpp, RcppEigen
License: GPL (>= 2)
LazyData: true
Config/roxygen2/version: 8.1.0
Repository: https://adonizetti.r-universe.dev
Date/Publication: 2026-08-31 16:11:53 UTC
RemoteUrl: https://github.com/adonizetti/blsm
RemoteRef: HEAD
RemoteSha: 8a3c82a90a7c6d2e96e55145b32ae2df078b4f16
NeedsCompilation: yes
Packaged: 2026-09-30 12:56:28 UTC; root
Author: Alberto Donizetti [aut, cre],
  Francesca Ieva [ctb]
Maintainer: Alberto Donizetti <albe.donizetti@gmail.com>
