Displaying 1 result from an estimated 1 matches for "flatten_exampl".
Did you mean:
flatten_examples
2011 May 19
0
Flattening lists and environments (was: "how to flatten a list to the same level?")
Dear list,
I came up with a two functions that flatten arbitrary deeply nested
lists (as long as they're named; not tested for unnamed) and
environments (see attachment; 'flatten_examples.txt' contains some
examples).
The paradigm is somewhat similar to that implemented in 'unlist()', yet
extends it. I would have very much liked to build upon the superfast
functionality of 'unlist()', but there are some obstacles to this (see
these two related posts at r-d...