Other packages > Find by keyword >

fastRG  

Sample Generalized Random Dot Product Graphs in Linear Time
View on CRAN: Click here


Download and install fastRG package within the R console
Install from CRAN:
install.packages("fastRG")

Install from Github:
library("remotes")
install_github("cran/fastRG")

Install by package version:
library("remotes")
install_version("fastRG", "0.4.0")



Attach the package and use:
library("fastRG")
Maintained by
Alex Hayes
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2021-02-26
Latest Update: 2025-07-24
Description:
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) . 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.
How to cite:
Alex Hayes (2021). fastRG: Sample Generalized Random Dot Product Graphs in Linear Time. R package version 0.4.0, https://cran.r-project.org/web/packages/fastRG. Accessed 16 Jul. 2026.
Previous versions and publish date:
(2026-07-09 07:37), 0.3.0 (2021-02-26 10:40), 0.3.1 (2022-06-30 09:30), 0.3.2 (2023-08-21 23:40), 0.3.3 (2025-07-24 17:30)
Other packages that cited fastRG R package
View fastRG citation profile
Other R packages that fastRG depends, imports, suggests or enhances
Complete documentation for fastRG
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  
tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  
Rnmr1D  
Perform the Complete Processing of a Set of Proton Nuclear Magnetic Resonance Spectra
Perform the complete processing of a set of proton nuclear magnetic resonance spectra from the free ...
Download / Learn more Package Citations See dependency  
tibble  
Simple Data Frames
Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the tradi ...
Download / Learn more Package Citations See dependency  
bbdetection  
Identification of Bull and Bear States of the Market
Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan ...
Download / Learn more Package Citations See dependency  
wordnet  
WordNet Interface
An interface to WordNet using the Jawbone Java API to WordNet. WordNet (< ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA