create.bi.kNN.chain.graph: Create a Bi-kNN Chain Graph

View source: R/basic_graphs.R

create.bi.kNN.chain.graphR Documentation

Create a Bi-kNN Chain Graph

Description

Create a Bi-kNN Chain Graph

Usage

create.bi.kNN.chain.graph(n.vertices = 5, k = 1, x = NULL, y = NULL)

Arguments

n.vertices

Number of vertices, ignored when x is supplied.

k

Number of neighbors on each side of a vertex in sorted order.

x

Optional numeric coordinate used to order vertices.

y

Optional response vector sorted along with x.

Value

A list with adj.list, edge.lengths, x.sorted, and y.sorted.


dgraphs documentation built on Aug. 21, 2026, 1:08 a.m.