search for: subsrcript

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

Did you mean: subscript
2004 Jun 23
1
converting apply output
...8] [,9] [,10] [1,] 8 9 7 8 6 7 6 6 6 7 [2,] 9 10 8 9 8 8 10 10 7 9 but I would like out as a list of 10 elements with two elements in each, e.g. [[1]] [1] 8 9 [[2]] [1] 9 10 etc. I have tried apply(out,2,function(x) list(x))), but the subsrcripting is not equal to the pattern when FUN returns a vectors of different length. Any help would be appreciated. Cheers andrew