tidyverse - Recursive map for tree-list structure in R -
i have tree structure lists in r (lists of lists of arbitrary depth). formed taking multidimensional array in r , using function array_tree
purrr package. apply function tips of tree (e.g., recursive map) without having flatten structure.
how can this?
i realize at_depth
, vec_depth
functions looking for.
at_depth(a, vec_depth(a))
Comments
Post a Comment