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

Popular posts from this blog

php - Cannot override Laravel Spark authentication with own implementation -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -