build_network: Build Networks from Coordinates

View source: R/build_network.R

build_networkR Documentation

Build Networks from Coordinates

Description

This function is used to derive a network object from a coordinate matrix.

Usage

build_network(net, center_index, edge)

Arguments

net

a data frame containing columns named as x_center and y_center, which are the x and y coordinates of cells, respectively.

center_index

the index or name of the center cell.

edge

the maximal length for an edge to exist.

Value

a network object.


XTH1114/NBFvis documentation built on Sept. 14, 2022, 1:13 p.m.