Learn R Programming

klassR (version 1.0.2)

is_split: Given a graph and a node, determine if the node is a split code.

Description

Given a graph and a node, determine if the node is a split code.

Usage

is_split(graph, node)

Value

TRUE if the node is split, otherwise FALSE.

Arguments

graph

A graph generated by klass_graph.

node

A node as returned by klass_node or V.

Details

The function will attempt to reconcile nodes that have split and then later merged again. A node is considered to be split if there is more than one node that does not itself have children (i.e. nodes at the end of a sequence of changes) that can be reached from node