Learn R Programming

SEMID (version 0.3.2)

isSibling: Are two nodes siblings?

Description

Are two nodes siblings?

Usage

isSibling(this, node1, node2)

# S3 method for MixedGraphFixedOrder isSibling(this, node1, node2)

# S3 method for MixedGraph isSibling(this, node1, node2)

Arguments

this

the mixed graph object

node1

a node

node2

a second node

Value

TRUE if the nodes are siblings in the graph, FALSE otherwise