Skip to contents

A sample dataset used to illustrate the functionality of the package.

Usage

g

Format

A tibble graph, from tidygraphs package

nodes

the nodes names

edges

the relationships between the nodes

Examples

data(g)
#> Warning: data set ‘g’ not found
head(g)
#> 6 x 6 sparse Matrix of class "dgCMatrix"
#>         Alice Bob Charlie David John Mary
#> Alice       .   1       1     .    .    .
#> Bob         .   .       .     1    1    .
#> Charlie     .   .       .     1    .    .
#> David       .   .       .     .    .    .
#> John        .   .       .     .    .    .
#> Mary        .   .       .     .    1    .