path_to: Extract a single path

View source: R/paths.R

path_toR Documentation

Extract a single path

Description

Gives access to a vector of feature names over a path to a certain target feature.

Usage

path_to(x, target, detailed = FALSE)

Arguments

x

vistla object.

target

target feature name.

detailed

if TRUE, suppresses default output and presents the same paths as a data frame featuring score.

Value

By default, a character vector with names of features along the path from target into root. When detailed is set to TRUE, a data.frame in a format identical to this produced by branches, yet without the leaf column.


vistla documentation built on Oct. 5, 2023, 5:08 p.m.

Related to path_to in vistla...