neighbor_graph.igraph: Neighbor Graph for igraph Objects

View source: R/neighbor_graph.R

neighbor_graph.igraphR Documentation

Neighbor Graph for igraph Objects

Description

Create a neighbor_graph object from an igraph object.

Usage

## S3 method for class 'igraph'
neighbor_graph(x, params = list(), type = NULL, classes = NULL, ...)

Arguments

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.

Value

A neighbor_graph object.


bbuchsbaum/neighborweights documentation built on April 1, 2024, 8:41 p.m.