search for: alwant

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

Did you mean: aliant
2010 Jun 25
2
ask a question about list in R
...[1] 2 3 [[2]] [1] 5 [[3]] [1] 7 and I check the second component, its element is 5, then I remove this, now my al is: al[[2]][al[[2]]!=5]->al[[2]] > al [[1]] [1] 2 3 [[2]] numeric(0) [[3]] [1] 7 The Question is, how I can get the new list without the second component, that is : > alwanted [[1]] [1] 2 3 [[2]] [1] 7 Thank you for your help!!! [[alternative HTML version deleted]]