build a tree by row and column names of a data frame.

df_tree(df, main = "col", order = "none", sep = "_")

Arguments

df

input data frame

main

col(default) or row

order

none or value

sep

default '_'