getSiblings: Get getSiblings of nodes in a graph.

View source: R/ancestralID.R

getSiblingsR Documentation

Get getSiblings of nodes in a graph.

Description

Get the getSiblings of a collection of nodes in a graph g, the getSiblings DO include the input nodes themselves.

Usage

getSiblings(g, nodes)

Arguments

g

the graph (as an igraph).

nodes

the nodes in the graph of which to get the getSiblings.

Value

a sorted vector of all getSiblings of nodes.


Lucaweihs/SEMID documentation built on July 22, 2023, 7:49 a.m.