prune_paths: Remove the paths that include the same node.end but different...

View source: R/mrtree.R

prune_pathsR Documentation

Remove the paths that include the same node.end but different node.start

Description

Remove the paths that include the same node.end but different node.start

Usage

prune_paths(paths, node.start, node.end)

Arguments

paths

Initial paths to be pruned

node.start

the label of the starting node

node.end

the label of the ending node

Value

A matrix whose rows contains the remaining paths after prunning


pengminshi/MRtree documentation built on March 6, 2023, 4:20 p.m.