Agreed. Just putting that out there.
On Mon, Jun 27, 2016 at 12:49 PM, Gabor Grothendieck
wrote:
> One would normally want the original order that so that one can stack
> a list, operate on the result and then unstack it back with the
> unstacked result having the same ordering as the original.
>
One would normally want the original order that so that one can stack
a list, operate on the result and then unstack it back with the
unstacked result having the same ordering as the original.
LL <- list(z = 1:3, a = list())
# since we can't do s <- stack(LL,. drop = FALSE) do this instead:
s <- t
I'll add the drop argument but I'm wondering about the order of the
levels. Should we set the levels to unique(names(x)) or sort them,
too?
On Mon, Jun 27, 2016 at 10:39 AM, Gabor Grothendieck
wrote:
> stack() seems to drop empty levels. Perhaps there could be a
> drop=FALSE argument if one want