convertGrid2LongTree: Make Long Tree

View source: R/readWikifamilytree.R

convertGrid2LongTreeR Documentation

Make Long Tree

Description

Make Long Tree

Usage

convertGrid2LongTree(tree_df, cols_to_pivot)

Arguments

tree_df

A data frame containing the tree structure.

cols_to_pivot

A character vector of column names to pivot.

Value

A long data frame containing the tree structure.


BGmisc documentation built on Aug. 8, 2025, 7:20 p.m.