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.


R-Computing-Lab/BGMisc documentation built on July 16, 2025, 9:09 p.m.