neighbor_graph.Matrix: Neighbor Graph for Matrix Objects

View source: R/neighbor_graph.R

neighbor_graph.MatrixR Documentation

Neighbor Graph for Matrix Objects

Description

Create a neighbor_graph object from a Matrix object.

Usage

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

Arguments

x

A Matrix 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.