Package: BLSM 0.1.0

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 <https://www.stat.washington.edu/people/pdhoff/Code/hoff_raftery_handcock_2002_jasa/>. Users can inspect the MCMC simulation, create and customize insightful graphical representations or apply clustering techniques.

Authors:Alberto Donizetti [aut, cre], Francesca Ieva [ctb]

BLSM_0.1.0.tar.gz
BLSM_0.1.0.zip(r-4.5)BLSM_0.1.0.zip(r-4.4)BLSM_0.1.0.zip(r-4.3)
BLSM_0.1.0.tgz(r-4.5-x86_64)BLSM_0.1.0.tgz(r-4.5-arm64)BLSM_0.1.0.tgz(r-4.4-x86_64)BLSM_0.1.0.tgz(r-4.4-arm64)BLSM_0.1.0.tgz(r-4.3-x86_64)BLSM_0.1.0.tgz(r-4.3-arm64)
BLSM_0.1.0.tar.gz(r-4.5-noble)BLSM_0.1.0.tar.gz(r-4.4-noble)
BLSM_0.1.0.tgz(r-4.4-emscripten)BLSM_0.1.0.tgz(r-4.3-emscripten)
BLSM.pdf |BLSM.html
BLSM/json (API)
NEWS

# Install 'BLSM' in R:
install.packages('BLSM', repos = c('https://adonizetti.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/adonizetti/blsm/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

3.48 score 2 stars 6 scripts 212 downloads 3 mentions 6 exports 2 dependencies

Last updated 7 years agofrom:8874154868. Checks:4 OK, 8 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 06 2025
R-4.5-win-x86_64NOTEMar 06 2025
R-4.5-mac-x86_64NOTEMar 06 2025
R-4.5-mac-aarch64NOTEMar 06 2025
R-4.5-linux-x86_64NOTEMar 06 2025
R-4.4-win-x86_64NOTEMar 06 2025
R-4.4-mac-x86_64NOTEMar 06 2025
R-4.4-mac-aarch64NOTEMar 06 2025
R-4.4-linux-x86_64NOTEMar 06 2025
R-4.3-win-x86_64OKMar 06 2025
R-4.3-mac-x86_64OKMar 06 2025
R-4.3-mac-aarch64OKMar 06 2025

Exports:dstestimate_latent_positionslpz_distplot_latent_positionsplot_traceplots_acfproc_crr

Dependencies:RcppRcppEigen