Package: fastRG 0.3.2.9000
fastRG: Sample Generalized Random Dot Product Graphs in Linear Time
Samples generalized random product graphs, a generalization of a broad class of network models. Given matrices X, S, and Y with with non-negative entries, samples a matrix with expectation X S Y^T and independent Poisson or Bernoulli entries using the fastRG algorithm of Rohe et al. (2017) <https://www.jmlr.org/papers/v19/17-128.html>. The algorithm first samples the number of edges and then puts them down one-by-one. As a result it is O(m) where m is the number of edges, a dramatic improvement over element-wise algorithms that which require O(n^2) operations to sample a random graph, where n is the number of nodes.
Authors:
fastRG_0.3.2.9000.tar.gz
fastRG_0.3.2.9000.zip(r-4.5)fastRG_0.3.2.9000.zip(r-4.4)fastRG_0.3.2.9000.zip(r-4.3)
fastRG_0.3.2.9000.tgz(r-4.4-any)fastRG_0.3.2.9000.tgz(r-4.3-any)
fastRG_0.3.2.9000.tar.gz(r-4.5-noble)fastRG_0.3.2.9000.tar.gz(r-4.4-noble)
fastRG_0.3.2.9000.tgz(r-4.4-emscripten)fastRG_0.3.2.9000.tgz(r-4.3-emscripten)
fastRG.pdf |fastRG.html✨
fastRG/json (API)
NEWS
# Install 'fastRG' in R: |
install.packages('fastRG', repos = c('https://rohelab.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rohelab/fastrg/issues
adjacency-matrixgraph-samplinglatent-factors
Last updated 3 months agofrom:34886a102e. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 26 2024 |
R-4.5-win | NOTE | Oct 26 2024 |
R-4.5-linux | NOTE | Oct 26 2024 |
R-4.4-win | OK | Oct 26 2024 |
R-4.4-mac | OK | Oct 26 2024 |
R-4.3-win | OK | Oct 26 2024 |
R-4.3-mac | OK | Oct 26 2024 |
Exports:chung_ludcsbmdirected_dcsbmdirected_erdos_renyidirected_factor_modeleigs_symerdos_renyiexpectationexpected_degreeexpected_degreesexpected_densityexpected_edgesexpected_in_degreeexpected_out_degreemmsbmoverlapping_sbmplanted_partitionplot_dense_matrixplot_expectationplot_sparse_matrixsample_edgelistsample_igraphsample_sparsesample_tidygraphsbmsvdsundirected_factor_model
Dependencies:clicolorspacecpp11dplyrfansifarvergenericsggplot2gluegtableigraphisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpurrrR6RColorBrewerRcppRcppEigenrlangRSpectrascalesstringistringrtibbletidygraphtidyrtidyselectutf8vctrsviridisLitewithr