Prints a concise summary of a mutual k-nearest neighbor graph object.
Usage
# S3 method for class 'mknn_graph'
print(x, ...)Examples
graph <- create.mknn.graph(matrix(c(0, 1, 3, 6), ncol = 1), k = 2)
print(graph)
#> Mutual k-Nearest Neighbor Graph
#> -------------------------------
#> Number of vertices: 4
#> Number of edges: 3
#> k value: 2
#> Mean degree: 1.50
#> Degree range: [1, 2]