Skip to contents

Sampling

sample_edgelist()
Sample a random edgelist from a random dot product graph
sample_edgelist(<matrix>) sample_edgelist(<Matrix>)
Low level interface to sample RPDG edgelists
sample_igraph()
Sample a random dot product graph as an igraph graph
sample_sparse()
Sample a random dot product graph as a sparse Matrix
sample_tidygraph()
Sample a random dot product graph as a tidygraph graph

Graph properties conditional on latent representations

eigs_sym(<undirected_factor_model>)
Compute the eigendecomposition of the expected adjacency matrix of an undirected factor model
svds(<directed_factor_model>)
Compute the singular value decomposition of the expected adjacency matrix of a directed factor model
svds(<undirected_factor_model>)
Compute the singular value decomposition of the expected adjacency matrix of an undirected factor model
expected_edges() expected_degree() expected_in_degree() expected_out_degree() expected_density() expected_degrees()
Calculate the expected edges in Poisson RDPG graph

Undirected graphs

erdos_renyi()
Create an undirected erdos renyi object
chung_lu()
Create an undirected Chung-Lu object
planted_partition()
Create an undirected planted partition object
sbm()
Create an undirected stochastic blockmodel object
dcsbm()
Create an undirected degree corrected stochastic blockmodel object
overlapping_sbm()
Create an undirected overlapping degree corrected stochastic blockmodel object
undirected_factor_model()
Create an undirected factor model graph
mmsbm()
Create an undirected degree-corrected mixed membership stochastic blockmodel object

Directed graphs

directed_erdos_renyi()
Create an directed erdos renyi object
directed_dcsbm()
Create a directed degree corrected stochastic blockmodel object
directed_factor_model()
Create a directed factor model graph