| print.mknn_graphs | R Documentation |
Prints a concise summary of a collection of mutual k-nearest neighbor graphs.
## S3 method for class 'mknn_graphs'
print(x, ...)
x |
An object of class "mknn_graphs". |
... |
Additional arguments (currently unused). |
Invisibly returns the input object.
graphs <- list(
k_statistics = data.frame(
k = 2:4,
n_edges_pruned = c(2L, 3L, 3L)
)
)
attr(graphs, "kmin") <- 2L
attr(graphs, "kmax") <- 4L
attr(graphs, "n_vertices") <- 3L
class(graphs) <- "mknn_graphs"
print(graphs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.