sparse2sg: Make an sg-object from adjacency matrix

View source: R/adjacency_matrix.R

sparse2sgR Documentation

Make an sg-object from adjacency matrix

Description

Make an sg-object from adjacency matrix

Usage

sparse2sg(x)

Arguments

x

square matrix. non-0 elements are taken as edge presence.


spatgraphs documentation built on Feb. 16, 2023, 8:49 p.m.