r - Opposite of array_tree in purrr package? -
i wondering if there function opposite of array_tree
function purrr package.
specifically function (lets call list_untree
-better suggestions welcome) following. if a
multidimensional array , m
vector specifying margins array_tree
.
l <- array_tree(a, margin=m) <- list_untree(l, margin=m)
how can write efficiently if not exist.
for more motivation: particularly interested in doing computations on l
using map function , plugging result list_untree
function.
Comments
Post a Comment