path_to {vistla} | R 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 or vistla_hierarchy object. |
target |
target feature name. |
detailed |
if |
Value
By default, a character vector with names of features along the path from target
into root.
When detailed
is set to TRUE
and input is a vistla object, a data.frame
in a format identical
to this produced by branches
, yet without the leaf
column.
[Package vistla version 2.0.2 Index]