| summary.IkNN | R Documentation |
Prints a summary of an IkNN graph object, including the number of vertices, edges, and pruning statistics.
## S3 method for class 'IkNN'
summary(object, ...)
object |
An object of class "IkNN", typically output from create.single.iknn.graph() |
... |
Additional arguments passed to summary(). |
Invisibly returns NULL while printing summary information to the console
graph <- list(
pruned_adj_list = list(c(2L, 3L), c(1L, 3L), c(1L, 2L)),
n_edges = 3L,
n_pruned_edges = 2L,
n_removed_edges = 1L,
edge_reduction_ratio = 1 / 3
)
class(graph) <- c("IkNN", "list")
summary(graph)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.