Skip to contents

A collection of functions to embed a sample of graphs into suitable spaces for further statistical analysis.

Usage

push_to_graph_space(obj)

Arguments

obj

An object of class nvd containing the sample of graphs.

Value

An object of class nvd containing the sample of graphs in graph space.

Examples

x <- nvd(sample_size = 5L, model = "gnp", n = 24L, p = 1/3)
#>  Calling the `tidygraph::play_gnp()` function with the following arguments:
#> • n: 24
#> • p: 0.333333333333333
#> • directed: TRUE
#> • loops: FALSE
x <- push_to_graph_space(x)
#>  Graphs have the following number of vertices: 24, 24, 24, 24, and 24