Learn R Programming

MATES (version 0.1)

Out_direct: Auxiliary function to compute rank matrix

Description

get outdirect nodes for each node

Usage

Out_direct(K, nodes)

Value

A list where entry out[[i]] is the vector of neighbors j

such that there is an edge (i, j) in K

Arguments

K

Integer or numeric matrix with two columns, where each row represents a directed edge (from, to) in the k-NN graph

nodes

Integer vector of node indices for which to extract outgoing neighbors