search for: lis3

Displaying 1 result from an estimated 1 matches for "lis3".

Did you mean: lis
2011 Apr 19
1
Reducing dimension of a list object
...w objects which are actually list of list of list..(say n step). If I reduce their dimension then I have call Reduce() function many times. Therefore my question is, is there any 1-step way to reduce the dimension at the lowest level? Take this example: lis1 <- list(4) lis2 <- list(1,8) lis3 <- list(lis1, lis2) # Now I want to reduce the dimension of lis3 to a column vector: > Reduce("c", Reduce("c", lis3)) [1] 4 1 8 I want to have some mechanism so that I need not to call reduce() function twice. Is there any way to do that? Thanks and regard...