dot-build_level_ancestors: Build ancestor chains across levels using accumulate

.build_level_ancestorsR Documentation

Build ancestor chains across levels using accumulate

Description

Build ancestor chains across levels using accumulate

Usage

.build_level_ancestors(snapshots, id_col, call)

Arguments

snapshots

(list) The object returned by .walk_tree_levels().

id_col

(character(1), integer(1), or symbol) The column that uniquely identifies each observation.

call

(environment) The environment to use for error messages.

Value

A list of length length(snapshots), where element k is a list of ancestor vectors (one per row at level k).


tibblify documentation built on May 9, 2026, 5:07 p.m.