Skip to content
Prev 25145 / 63424 Next

relist, an inverse operator to unlist

On 5/23/07, Martin Maechler <maechler at stat.math.ethz.ch> wrote:
Another possibility is to call it reshapeList instead of relist or reshape and
the argument list made similar to reshape to keep the analogy as to
reshape as close as possible to leverage the R user's knowledge of
reshape.

However, I am not so sure it really is different.  Both reshape and
relist involve flattening of structures and then reconstructing them back
to the original.  This seems very similar to me.