Skip to contents

Print a Path-Length-Metric Graph

Usage

# S3 method for class 'path.graph.plm'
print(x, ...)

Arguments

x

A path.graph.plm object from create.plm.graph().

...

Unused.

Value

Invisibly returns x unchanged after printing its vertex, edge and stored-path counts and maximum path length.

Examples

graph <- list(2L, c(1L, 3L), 2L)
lengths <- list(1, c(1, 2), 2)
create.plm.graph(graph, lengths, h = 3)
#> PLM Path Graph
#>   Number of vertices: 3 
#>   Maximum path length (h): 3 
#>   Number of stored paths: 3 
#>   Number of edges: 3