View source: R/neighbor_graph.R
neighbor_graph.igraph | R Documentation |
Create a neighbor_graph object from an igraph object.
## S3 method for class 'igraph'
neighbor_graph(x, params = list(), type = NULL, classes = NULL, ...)
x |
An igraph object. |
params |
A list of parameters. |
type |
A character string specifying the type of graph. |
classes |
A character vector specifying additional classes for the object. |
... |
Additional arguments. |
A neighbor_graph object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.